diff options
Diffstat (limited to 'arch/powerpc/include/asm/pci.h')
-rw-r--r-- | arch/powerpc/include/asm/pci.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/powerpc/include/asm/pci.h b/arch/powerpc/include/asm/pci.h index ba17d5d90a49..d9483c504d2d 100644 --- a/arch/powerpc/include/asm/pci.h +++ b/arch/powerpc/include/asm/pci.h | |||
@@ -195,19 +195,6 @@ extern void pcibios_bus_to_resource(struct pci_dev *dev, | |||
195 | struct resource *res, | 195 | struct resource *res, |
196 | struct pci_bus_region *region); | 196 | struct pci_bus_region *region); |
197 | 197 | ||
198 | static inline struct resource *pcibios_select_root(struct pci_dev *pdev, | ||
199 | struct resource *res) | ||
200 | { | ||
201 | struct resource *root = NULL; | ||
202 | |||
203 | if (res->flags & IORESOURCE_IO) | ||
204 | root = &ioport_resource; | ||
205 | if (res->flags & IORESOURCE_MEM) | ||
206 | root = &iomem_resource; | ||
207 | |||
208 | return root; | ||
209 | } | ||
210 | |||
211 | extern void pcibios_claim_one_bus(struct pci_bus *b); | 198 | extern void pcibios_claim_one_bus(struct pci_bus *b); |
212 | 199 | ||
213 | extern void pcibios_finish_adding_to_bus(struct pci_bus *bus); | 200 | extern void pcibios_finish_adding_to_bus(struct pci_bus *bus); |