]> git.baikalelectronics.ru Git - 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)
commit7d33404f646e91d2ba4e4ab6a92d4e79530456b6
tree81daaed5e7b5e494ae497c2ddf09791658ceca05
parent064e66e10de3c245d7666feaeebe1d1575e4c591
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