]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Introduce pnv_pci_get_slot_id()
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Fri, 20 May 2016 06:41:40 +0000 (16:41 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 21 Jun 2016 05:30:58 +0000 (15:30 +1000)
commitaa5b0bd78fc3e84fd2afbe40927c4c85fa8a3d08
tree13f003cef438104190d28896c8eee2a0619578fe
parent9bbd4c886190f7ca82f1997b06829182be3588ca
powerpc/powernv: Introduce pnv_pci_get_slot_id()

This introduces pnv_pci_get_slot_id() to get the hotpluggable PCI
slot ID from the corresponding device node. It will be used by
hotplug driver.

Requested-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/pnv-pci.h
arch/powerpc/platforms/powernv/pci.c