Skip to content

Commit

Permalink
watchdog: via_wdt: depends on PCI
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
  • Loading branch information
rddunlap authored and Wim Van Sebroeck committed May 23, 2012
1 parent 491d9e2 commit 690e7a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ config SMSC37B787_WDT

config VIA_WDT
tristate "VIA Watchdog Timer"
depends on X86
depends on X86 && PCI
select WATCHDOG_CORE
---help---
This is the driver for the hardware watchdog timer on VIA
Expand Down

0 comments on commit 690e7a7

Please sign in to comment.