Linux Watchdog driver development
 help / color / mirror / Atom feed
* [PATCH -next] via_wdt: depends on PCI
       [not found] <20120511162738.1d65b6efe099a54841be6313@canb.auug.org.au>
@ 2012-05-11 23:37 ` Randy Dunlap
  2012-05-14 13:14   ` Wim Van Sebroeck
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2012-05-11 23:37 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, LKML, Wim Van Sebroeck, linux-watchdog

From: Randy Dunlap <rdunlap@xenotime.net>

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>
---
 drivers/watchdog/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20120511.orig/drivers/watchdog/Kconfig
+++ linux-next-20120511/drivers/watchdog/Kconfig
@@ -788,7 +788,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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] via_wdt: depends on PCI
  2012-05-11 23:37 ` [PATCH -next] via_wdt: depends on PCI Randy Dunlap
@ 2012-05-14 13:14   ` Wim Van Sebroeck
  0 siblings, 0 replies; 2+ messages in thread
From: Wim Van Sebroeck @ 2012-05-14 13:14 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Stephen Rothwell, linux-next, LKML, linux-watchdog

Hello Rancy,

> From: Randy Dunlap <rdunlap@xenotime.net>
> 
> 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>

Fix added.

Thanks,
Wim.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-14 13:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20120511162738.1d65b6efe099a54841be6313@canb.auug.org.au>
2012-05-11 23:37 ` [PATCH -next] via_wdt: depends on PCI Randy Dunlap
2012-05-14 13:14   ` Wim Van Sebroeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox