diff options
Diffstat (limited to 'arch/mips/include/asm/pci.h')
-rw-r--r-- | arch/mips/include/asm/pci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/include/asm/pci.h b/arch/mips/include/asm/pci.h index fcd4060f6421..90bf3b3fce19 100644 --- a/arch/mips/include/asm/pci.h +++ b/arch/mips/include/asm/pci.h | |||
@@ -17,6 +17,7 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/ioport.h> | 19 | #include <linux/ioport.h> |
20 | #include <linux/of.h> | ||
20 | 21 | ||
21 | /* | 22 | /* |
22 | * Each pci channel is a top-level PCI bus seem by CPU. A machine with | 23 | * Each pci channel is a top-level PCI bus seem by CPU. A machine with |
@@ -26,6 +27,7 @@ | |||
26 | struct pci_controller { | 27 | struct pci_controller { |
27 | struct pci_controller *next; | 28 | struct pci_controller *next; |
28 | struct pci_bus *bus; | 29 | struct pci_bus *bus; |
30 | struct device_node *of_node; | ||
29 | 31 | ||
30 | struct pci_ops *pci_ops; | 32 | struct pci_ops *pci_ops; |
31 | struct resource *mem_resource; | 33 | struct resource *mem_resource; |
@@ -142,4 +144,8 @@ static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) | |||
142 | 144 | ||
143 | extern char * (*pcibios_plat_setup)(char *str); | 145 | extern char * (*pcibios_plat_setup)(char *str); |
144 | 146 | ||
147 | /* this function parses memory ranges from a device node */ | ||
148 | extern void __devinit pci_load_of_ranges(struct pci_controller *hose, | ||
149 | struct device_node *node); | ||
150 | |||
145 | #endif /* _ASM_PCI_H */ | 151 | #endif /* _ASM_PCI_H */ |