aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-01-25 11:06:27 -0500
committerWim Van Sebroeck <wim@iguana.be>2016-01-31 10:52:56 -0500
commitdf1a3e64f79b3e277a22b2e789896f86c63eec1f (patch)
tree1fd0130b0607bf965784a9e5276a414cc93b8c11
parentc75f6c5ac0877e8d9728f680aa324e9adeff91e1 (diff)
watchdog: imgdpc: select WATCHDOG_CORE
The imgpdc_wdt driver can be built on all architectures with CONFIG_COMPILE_TEST, but fails if no other watchdog driver is enabled: drivers/watchdog/built-in.o: In function `pdc_wdt_remove': imgpdc_wdt.c:(.text+0x74): undefined reference to `watchdog_unregister_device' This adds the normal 'select WATCHDOG_CORE' that is needed to ensure the driver always builds cleanly. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
-rw-r--r--drivers/watchdog/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index e723e0169f88..0847f2e22e55 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -1383,6 +1383,7 @@ config IMGPDC_WDT
1383 tristate "Imagination Technologies PDC Watchdog Timer" 1383 tristate "Imagination Technologies PDC Watchdog Timer"
1384 depends on HAS_IOMEM 1384 depends on HAS_IOMEM
1385 depends on METAG || MIPS || COMPILE_TEST 1385 depends on METAG || MIPS || COMPILE_TEST
1386 select WATCHDOG_CORE
1386 help 1387 help
1387 Driver for Imagination Technologies PowerDown Controller 1388 Driver for Imagination Technologies PowerDown Controller
1388 Watchdog Timer. 1389 Watchdog Timer.