diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-04-10 21:34:33 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-06-07 19:08:57 -0400 |
commit | ef3b4f8cc20e80c767e47b848fb7512770ab80d7 (patch) | |
tree | dc3550170335564b7644e1db62658a56d2c7ff8e /arch/microblaze | |
parent | 64099d981c9916ec4a485b3ffbb89fa877fc595f (diff) |
pci/of: Consolidate pci_bus_to_OF_node()
The generic code always get the device-node in the right place now
so a single implementation will work for all archs
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Michal Simek <monstr@monstr.eu>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/include/asm/pci-bridge.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/microblaze/include/asm/pci-bridge.h b/arch/microblaze/include/asm/pci-bridge.h index 0d74d031e2a3..242be57a319c 100644 --- a/arch/microblaze/include/asm/pci-bridge.h +++ b/arch/microblaze/include/asm/pci-bridge.h | |||
@@ -102,11 +102,6 @@ struct pci_controller { | |||
102 | }; | 102 | }; |
103 | 103 | ||
104 | #ifdef CONFIG_PCI | 104 | #ifdef CONFIG_PCI |
105 | static inline struct device_node *pci_bus_to_OF_node(struct pci_bus *bus) | ||
106 | { | ||
107 | return bus->dev.of_node; | ||
108 | } | ||
109 | |||
110 | static inline struct pci_controller *pci_bus_to_host(const struct pci_bus *bus) | 105 | static inline struct pci_controller *pci_bus_to_host(const struct pci_bus *bus) |
111 | { | 106 | { |
112 | return bus->sysdata; | 107 | return bus->sysdata; |