Skip to contentSkip to conversation

watchdog: Fix DA9055 dependency on watchdog core

PATCH New Guenter Roeck 1 participant 1 message Mar 1, 2013 Watchdog device drivers

lore
Share & tools
lore

Guenter Roeck

author maintainer
#0 lore raw

PATCH 1/1 watchdog: Fix DA9055 dependency on watchdog core

If DA9055_WATCHDOG is defined but WATCHDOG_CORE isn't, the following build error is observed.

ERROR: "watchdog_register_device" [drivers/watchdog/da9055_wdt.ko] undefined!
ERROR: "watchdog_unregister_device" [drivers/watchdog/da9055_wdt.ko] undefined!

---
 drivers/watchdog/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/watchdog/Kconfig +1 -0
index 26e1fdb..8371063 100644
@@ -79,6 +79,7 @@ config DA9052_WATCHDOG
 config DA9055_WATCHDOG
 	tristate "Dialog Semiconductor DA9055 Watchdog"
 	depends on MFD_DA9055
+	select WATCHDOG_CORE
 	help
 	  If you say yes here you get support for watchdog on the Dialog
 	  Semiconductor DA9055 PMIC.
Signature · 1 line
1.7.9.7