summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/pci.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt2011-04-11 03:20:25 +0200
committerBenjamin Herrenschmidt2011-06-08 01:08:35 +0200
commit72bdee79f89ffc9ce425611cdaf88d28a96b8b66 (patch)
tree7b73aa0003ab4a05f799e8e86e01d6064a8167c1 /arch/microblaze/include/asm/pci.h
parentpci/of: Match PCI devices to OF nodes dynamically (diff)
downloadkernel-qcow2-linux-72bdee79f89ffc9ce425611cdaf88d28a96b8b66.tar.gz
kernel-qcow2-linux-72bdee79f89ffc9ce425611cdaf88d28a96b8b66.tar.xz
kernel-qcow2-linux-72bdee79f89ffc9ce425611cdaf88d28a96b8b66.zip
microblaze/pci: Remove powermac originated cruft
The whole business with re-assigning all bus numbers, creating an OF bus "map" etc... is ancient powermac stuff that you really don't care about on microblaze. Similarly pci_device_from_OF_node() is unused and by getting rid of it we can get rid of a whole lot of code otherwise unused on this architecture Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/pci.h')
-rw-r--r--arch/microblaze/include/asm/pci.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/microblaze/include/asm/pci.h b/arch/microblaze/include/asm/pci.h
index ba65cf472544..1dd9d6b1e275 100644
--- a/arch/microblaze/include/asm/pci.h
+++ b/arch/microblaze/include/asm/pci.h
@@ -40,8 +40,7 @@ struct pci_dev;
* Set this to 1 if you want the kernel to re-assign all PCI
* bus numbers (don't do that on ppc64 yet !)
*/
-#define pcibios_assign_all_busses() \
- (pci_has_flag(PCI_REASSIGN_ALL_BUS))
+#define pcibios_assign_all_busses() 0
static inline void pcibios_set_master(struct pci_dev *dev)
{