提交 8751f90c 编写于 作者: G Guenter Roeck

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: NGuenter Roeck <linux@roeck-us.net>
上级 eca10ae6
...@@ -1120,6 +1120,7 @@ config NV_TCO ...@@ -1120,6 +1120,7 @@ config NV_TCO
config RDC321X_WDT config RDC321X_WDT
tristate "RDC R-321x SoC watchdog" tristate "RDC R-321x SoC watchdog"
depends on X86_RDC321X || COMPILE_TEST depends on X86_RDC321X || COMPILE_TEST
depends on PCI
help help
This is the driver for the built in hardware watchdog This is the driver for the built in hardware watchdog
in the RDC R-321x SoC. in the RDC R-321x SoC.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册