diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-29 14:12:08 -0500 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-02-24 17:00:23 -0500 |
commit | 8751f90c819c156befc630d467adbc003bd59d87 (patch) | |
tree | c8a9fd2830b24f9e6c38dc43ee3d523e03f8cb2f /drivers/watchdog | |
parent | eca10ae6000d45ee3fec65f0abf7e07abfc66abb (diff) |
watchdog: RDC321X_WDT always depends on PCI
Without this dependency, platforms not supporting PCI (such as m68k)
report the following build warning when building allmodconfig
or allyesconfig.
drivers/watchdog/rdc321x_wdt.c: In function 'rdc321x_wdt_ioctl':
./arch/m68k/include/asm/uaccess_mm.h:61:1: warning:
'value' may be used uninitialized in this function
Fixes: f4c3de659054 ("watchdog: Enable COMPILE_TEST where possible")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index ba116f8bf3ee..89b50f6d258f 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig | |||
@@ -1120,6 +1120,7 @@ config NV_TCO | |||
1120 | config RDC321X_WDT | 1120 | config RDC321X_WDT |
1121 | tristate "RDC R-321x SoC watchdog" | 1121 | tristate "RDC R-321x SoC watchdog" |
1122 | depends on X86_RDC321X || COMPILE_TEST | 1122 | depends on X86_RDC321X || COMPILE_TEST |
1123 | depends on PCI | ||
1123 | help | 1124 | help |
1124 | This is the driver for the built in hardware watchdog | 1125 | This is the driver for the built in hardware watchdog |
1125 | in the RDC R-321x SoC. | 1126 | in the RDC R-321x SoC. |