Commit 690e7a706da6cb1af0363529603048ef3fce9e82

Authored by Randy Dunlap
Committed by Wim Van Sebroeck
1 parent 491d9e2a5f

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/watchdog/Kconfig
... ... @@ -787,7 +787,7 @@
787 787  
788 788 config VIA_WDT
789 789 tristate "VIA Watchdog Timer"
790   - depends on X86
  790 + depends on X86 && PCI
791 791 select WATCHDOG_CORE
792 792 ---help---
793 793 This is the driver for the hardware watchdog timer on VIA