瀏覽代碼

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>
Randy Dunlap 13 年之前
父節點
當前提交
690e7a706d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/watchdog/Kconfig

+ 1 - 1
drivers/watchdog/Kconfig

@@ -787,7 +787,7 @@ config SMSC37B787_WDT
 
 
 config VIA_WDT
 config VIA_WDT
 	tristate "VIA Watchdog Timer"
 	tristate "VIA Watchdog Timer"
-	depends on X86
+	depends on X86 && PCI
 	select WATCHDOG_CORE
 	select WATCHDOG_CORE
 	---help---
 	---help---
 	This is the driver for the hardware watchdog timer on VIA
 	This is the driver for the hardware watchdog timer on VIA