]> git.karo-electronics.de Git - karo-tx-linux.git/commit
watchdog: RDC321X_WDT always depends on PCI
authorGuenter Roeck <linux@roeck-us.net>
Sun, 29 Jan 2017 19:12:08 +0000 (11:12 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 24 Feb 2017 22:00:23 +0000 (14:00 -0800)
commit8751f90c819c156befc630d467adbc003bd59d87
treec8a9fd2830b24f9e6c38dc43ee3d523e03f8cb2f
parenteca10ae6000d45ee3fec65f0abf7e07abfc66abb
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>
drivers/watchdog/Kconfig