]> git.karo-electronics.de Git - linux-beck.git/commit
Revert "powerpc/pci: Remove unused struct pci_dn.pcidev field"
authorAlistair Popple <alistair@popple.id.au>
Thu, 17 Dec 2015 02:43:11 +0000 (13:43 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 17 Dec 2015 11:40:59 +0000 (22:40 +1100)
commit94973b24d61b03f99017f836d85e7d6739741bab
treef0f629be29d6ad1bc3a416e9458f7da227144ca8
parente80c4e7ca5aed7d2fa766191bcf4e83fa411c720
Revert "powerpc/pci: Remove unused struct pci_dn.pcidev field"

This commit removed the pcidev field from struct pci_dn as it was no
longer in use by the kernel. However to support finding the
association of Nvlink devices to GPU devices from the device-tree this
field is required.

This reverts commit 250c7b277c65 ("powerpc/pci: Remove unused struct
pci_dn.pcidev field").

Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/platforms/powernv/pci-ioda.c