[PATCH 12/14] PCI/hotplug: pnv_php: export symbols and move struct types needed by cxl
Gavin Shan
gwshan at linux.vnet.ibm.com
Tue Jul 5 10:03:47 AEST 2016
On Mon, Jul 04, 2016 at 11:22:10PM +1000, Ian Munsie wrote:
>From: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
>
>The cxl driver will use infrastructure from pnv_php to handle device tree
>updates when switching bi-modal CAPI cards into CAPI mode.
>
>To enable this, export pnv_php_find_slot() and
>pnv_php_set_slot_power_state(), and add corresponding declarations, as well
>as the definition of struct pnv_php_slot, to asm/pnv-pci.h.
>
>Cc: Gavin Shan <gwshan at linux.vnet.ibm.com>
>Cc: linux-pci at vger.kernel.org
>Cc: Bjorn Helgaas <bhelgaas at google.com>
>Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
>Acked-by: Gavin Shan <gwshan at linux.vnet.ibm.com>
>---
.../...
>diff --git a/drivers/pci/hotplug/Kconfig b/drivers/pci/hotplug/Kconfig
>index aadce45..b719a72 100644
>--- a/drivers/pci/hotplug/Kconfig
>+++ b/drivers/pci/hotplug/Kconfig
>@@ -117,6 +117,7 @@ config HOTPLUG_PCI_POWERNV
> tristate "PowerPC PowerNV PCI Hotplug driver"
> depends on PPC_POWERNV && EEH
> select OF_DYNAMIC
>+ select HOTPLUG_PCI_POWERNV_BASE
> help
> Say Y here if you run PowerPC PowerNV platform that supports
> PCI Hotplug
Andrew/Ian, it seems HOTPLUG_PCI_POWERNV_BASE isn't defined and we needn't it.
Thanks,
Gavin
More information about the Linuxppc-dev
mailing list