From: Randy Dunlap Date: Sat, 16 Jul 2011 19:25:49 +0000 (-0700) Subject: watchdog: hpwdt depends on PCI X-Git-Tag: upstream/snapshot3+hdmi~9659^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f71d26bb6503e9b11b91444819b2f96872baaab8;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git watchdog: hpwdt depends on PCI hpwdt is a PCI driver so it should depend on PCI. Fixes these build errors: drivers/watchdog/hpwdt.c:762: error: implicit declaration of function 'pci_iomap' drivers/watchdog/hpwdt.c:762: warning: assignment makes pointer from integer without a cast drivers/watchdog/hpwdt.c:797: error: implicit declaration of function 'pci_iounmap' Signed-off-by: Randy Dunlap Signed-off-by: Wim Van Sebroeck Cc: Thomas Mingarelli --- diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index c57419b..21d816e 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -599,7 +599,7 @@ config IT87_WDT config HP_WATCHDOG tristate "HP ProLiant iLO2+ Hardware Watchdog Timer" - depends on X86 + depends on X86 && PCI help A software monitoring watchdog and NMI sourcing driver. This driver will detect lockups and provide a stack trace. This is a driver that