Browse Source

watchdog: da9055_wdt needs to select WATCHDOG_CORE

DA9055_WATCHDOG (introduced in v3.8) needs to select WATCHDOG_CORE so that it will
build cleanly.  Fixes these build errors:

da9055_wdt.c:(.text+0xe9bc7): undefined reference to `watchdog_unregister_device'
da9055_wdt.c:(.text+0xe9f4b): undefined reference to `watchdog_register_device'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: David Dajun Chen <dchen@diasemi.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: linux-watchdog@vger.kernel.org
Cc: stable <stable@vger.kernel.org>
Randy Dunlap 12 years ago
parent
commit
12a5c05cb1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/watchdog/Kconfig

+ 1 - 0
drivers/watchdog/Kconfig

@@ -79,6 +79,7 @@ config DA9052_WATCHDOG
 config DA9055_WATCHDOG
 config DA9055_WATCHDOG
 	tristate "Dialog Semiconductor DA9055 Watchdog"
 	tristate "Dialog Semiconductor DA9055 Watchdog"
 	depends on MFD_DA9055
 	depends on MFD_DA9055
+	select WATCHDOG_CORE
 	help
 	help
 	  If you say yes here you get support for watchdog on the Dialog
 	  If you say yes here you get support for watchdog on the Dialog
 	  Semiconductor DA9055 PMIC.
 	  Semiconductor DA9055 PMIC.