]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
PCI/hotplug: pnv_php: export symbols and move struct types needed by cxl
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Wed, 13 Jul 2016 21:17:12 +0000 (07:17 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 14 Jul 2016 10:28:08 +0000 (20:28 +1000)
commit89379f165a1be13aa9b4731a9095171142ee1c7b
tree81daaed5e7b5e494ae497c2ddf09791658ceca05
parentf67a6722d650b864b020b19b3926e7152b55f1ff
PCI/hotplug: pnv_php: export symbols and move struct types needed by cxl

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@linux.vnet.ibm.com>
Cc: linux-pci@vger.kernel.org
Cc: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Acked-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/pnv-pci.h
drivers/pci/hotplug/pnv_php.c