PCI: Move Open Firmware devspec attribute to PCI common code
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 17 Apr 2014 17:46:15 +0000 (19:46 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 30 Apr 2014 20:48:41 +0000 (14:48 -0600)
commitdfc73e7acd9925b434a355eeeed86d44cb435f9c
tree02b907874b2f1bbce4c485f4bc40ffd161715da2
parent1e358f94c00570f88a590cabe718daf835440cc9
PCI: Move Open Firmware devspec attribute to PCI common code

Move the devspec OF attribute to PCI common code's set of device attributes
since it's not architecture dependent.  As a side effect microblaze and
powerpc no longer need to use pcibios_add_platform_entries().

[bhelgaas: fold in #include for compile error]
Link: https://lkml.kernel.org/r/alpine.LFD.2.11.1404141101500.1529@denkbrett
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/microblaze/pci/pci-common.c
arch/powerpc/kernel/pci-common.c
drivers/pci/pci-sysfs.c