]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: via_wdt: depends on PCI
authorRandy Dunlap <rdunlap@xenotime.net>
Fri, 11 May 2012 23:37:22 +0000 (16:37 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 23 May 2012 14:25:59 +0000 (16:25 +0200)
commitaf6a9559a351d1671d9b75f124f9c3267a24019e
tree9618460fc08cd6c65503f1638f07e0d6a6d156f3
parent1a7795a1f9a358631e3067bdd0b2f0916ff6edd6
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>
drivers/watchdog/Kconfig