diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2012-05-11 19:37:22 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-05-23 10:25:59 -0400 |
commit | 690e7a706da6cb1af0363529603048ef3fce9e82 (patch) | |
tree | 9618460fc08cd6c65503f1638f07e0d6a6d156f3 /drivers/watchdog/Kconfig | |
parent | 491d9e2a5f0e845a91ef53065afb4805a668d80d (diff) |
watchdog: via_wdt: depends on PCI
via_wdt is a PCI driver so it should depend on PCI so that
it will not cause build errors.
drivers/watchdog/via_wdt.c:256:1: warning: data definition has no type or storage class
drivers/watchdog/via_wdt.c:256:1: warning: type defaults to 'int' in declaration of 'module_pci_driver'
drivers/watchdog/via_wdt.c:256:1: warning: parameter names (without types) in function declaration
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/Kconfig')
-rw-r--r-- | drivers/watchdog/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 1ceb0192dd8..bc2ff8b8147 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig | |||
@@ -787,7 +787,7 @@ config SMSC37B787_WDT | |||
787 | 787 | ||
788 | config VIA_WDT | 788 | config VIA_WDT |
789 | tristate "VIA Watchdog Timer" | 789 | tristate "VIA Watchdog Timer" |
790 | depends on X86 | 790 | depends on X86 && PCI |
791 | select WATCHDOG_CORE | 791 | select WATCHDOG_CORE |
792 | ---help--- | 792 | ---help--- |
793 | This is the driver for the hardware watchdog timer on VIA | 793 | This is the driver for the hardware watchdog timer on VIA |