RE: [PATCH -next] watchdog: hpwdt depends on PCI

From: Mingarelli, Thomas
Date: Mon Jul 18 2011 - 12:42:29 EST


Ack'd by Tom Mingarelli.

-----Original Message-----
From: Randy Dunlap [mailto:rdunlap@xxxxxxxxxxxx]
Sent: Saturday, July 16, 2011 2:26 PM
To: Stephen Rothwell; Wim Van Sebroeck
Cc: linux-next@xxxxxxxxxxxxxxx; LKML; Mingarelli, Thomas; akpm
Subject: [PATCH -next] watchdog: hpwdt depends on PCI

From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

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 <rdunlap@xxxxxxxxxxxx>
Cc: Wim Van Sebroeck <wim@xxxxxxxxx>
Cc: Thomas Mingarelli <thomas.mingarelli@xxxxxx>
---
drivers/watchdog/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20110716.orig/drivers/watchdog/Kconfig
+++ linux-next-20110716/drivers/watchdog/Kconfig
@@ -619,7 +619,7 @@ config IT87_WDT

config HP_WATCHDOG
tristate "HP ProLiant iLO2+ Hardware Watchdog Timer"
- depends on X86
+ depends on X86 && PCI
default m
help
A software monitoring watchdog and NMI sourcing driver. This driver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/