Patchwork powerpc/pseries: The RPA PCI hotplug driver depends on EEH

login
register
mail settings
Submitter Michael Ellerman
Date March 6, 2009, 3:39 a.m.
Message ID <1e297c2bc75a03f17da24c568249c8e9925a9034.1236310746.git.michael@ellerman.id.au>
Download mbox | patch
Permalink /patch/24139/
State Accepted
Commit b46ce6119826e7cf29eb314112f42d4b266762c9
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Michael Ellerman - March 6, 2009, 3:39 a.m.
The RPA PCI hotplug driver calls EEH routines, so should depend on
EEH. Also PPC_PSERIES implies PPC64, so remove that.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
 drivers/pci/hotplug/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/drivers/pci/hotplug/Kconfig b/drivers/pci/hotplug/Kconfig
index eacfb13..9aa4fe1 100644
--- a/drivers/pci/hotplug/Kconfig
+++ b/drivers/pci/hotplug/Kconfig
@@ -143,7 +143,7 @@  config HOTPLUG_PCI_SHPC
 
 config HOTPLUG_PCI_RPA
 	tristate "RPA PCI Hotplug driver"
-	depends on PPC_PSERIES && PPC64 && !HOTPLUG_PCI_FAKE
+	depends on PPC_PSERIES && EEH && !HOTPLUG_PCI_FAKE
 	help
 	  Say Y here if you have a RPA system that supports PCI Hotplug.