watchdog: dw_wdt: populate driver_d.name
Apparently, somewhere between v2017.01.0 and v2020.01.0, barebox became
dependent on drivers having a name as having this driver enabled in
v2020.01.0 has barebox crash due to a null pointer dereference in the
device_match's second strcmp.

A previous commit introduced a palatable warning for this case.
Now in order to be able to use the driver again, give it a name.

Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 671a7d5 commit ea958fadf5328ee42ce68c3cad15f9503581e838
@Ahmad Fatoum Ahmad Fatoum authored on 10 Feb 2020
Sascha Hauer committed on 12 Feb 2020
Showing 1 changed file
View
drivers/watchdog/dw_wdt.c