]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
watchdog: da9055_wdt needs to select WATCHDOG_CORE
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 28 Jan 2013 16:29:48 +0000 (08:29 -0800)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 28 Jan 2013 21:03:21 +0000 (22:03 +0100)
DA9055_WATCHDOG 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
drivers/watchdog/Kconfig

index 7f809fd4a57f950c94c3d5d280fe471f60ebeaf4..19fa73a0374c2fab7a3d09c8f9808ca7ce813c72 100644 (file)
@@ -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.