diff options
Diffstat (limited to 'arch/mips/include/asm/pci.h')
-rw-r--r-- | arch/mips/include/asm/pci.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/arch/mips/include/asm/pci.h b/arch/mips/include/asm/pci.h index d69ea743272..576397c6992 100644 --- a/arch/mips/include/asm/pci.h +++ b/arch/mips/include/asm/pci.h | |||
@@ -17,7 +17,6 @@ | |||
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/ioport.h> | 19 | #include <linux/ioport.h> |
20 | #include <linux/of.h> | ||
21 | 20 | ||
22 | /* | 21 | /* |
23 | * Each pci channel is a top-level PCI bus seem by CPU. A machine with | 22 | * Each pci channel is a top-level PCI bus seem by CPU. A machine with |
@@ -27,7 +26,6 @@ | |||
27 | struct pci_controller { | 26 | struct pci_controller { |
28 | struct pci_controller *next; | 27 | struct pci_controller *next; |
29 | struct pci_bus *bus; | 28 | struct pci_bus *bus; |
30 | struct device_node *of_node; | ||
31 | 29 | ||
32 | struct pci_ops *pci_ops; | 30 | struct pci_ops *pci_ops; |
33 | struct resource *mem_resource; | 31 | struct resource *mem_resource; |
@@ -94,7 +92,6 @@ extern int pci_mmap_page_range(struct pci_dev *dev, struct vm_area_struct *vma, | |||
94 | #include <asm/scatterlist.h> | 92 | #include <asm/scatterlist.h> |
95 | #include <linux/string.h> | 93 | #include <linux/string.h> |
96 | #include <asm/io.h> | 94 | #include <asm/io.h> |
97 | #include <asm-generic/pci-bridge.h> | ||
98 | 95 | ||
99 | struct pci_dev; | 96 | struct pci_dev; |
100 | 97 | ||
@@ -115,6 +112,12 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev, | |||
115 | } | 112 | } |
116 | #endif | 113 | #endif |
117 | 114 | ||
115 | extern void pcibios_resource_to_bus(struct pci_dev *dev, | ||
116 | struct pci_bus_region *region, struct resource *res); | ||
117 | |||
118 | extern void pcibios_bus_to_resource(struct pci_dev *dev, struct resource *res, | ||
119 | struct pci_bus_region *region); | ||
120 | |||
118 | #define pci_domain_nr(bus) ((struct pci_controller *)(bus)->sysdata)->index | 121 | #define pci_domain_nr(bus) ((struct pci_controller *)(bus)->sysdata)->index |
119 | 122 | ||
120 | static inline int pci_proc_domain(struct pci_bus *bus) | 123 | static inline int pci_proc_domain(struct pci_bus *bus) |
@@ -142,10 +145,8 @@ static inline int pci_get_legacy_ide_irq(struct pci_dev *dev, int channel) | |||
142 | #define arch_setup_msi_irqs arch_setup_msi_irqs | 145 | #define arch_setup_msi_irqs arch_setup_msi_irqs |
143 | #endif | 146 | #endif |
144 | 147 | ||
145 | extern char * (*pcibios_plat_setup)(char *str); | 148 | extern int pci_probe_only; |
146 | 149 | ||
147 | /* this function parses memory ranges from a device node */ | 150 | extern char * (*pcibios_plat_setup)(char *str); |
148 | extern void pci_load_of_ranges(struct pci_controller *hose, | ||
149 | struct device_node *node); | ||
150 | 151 | ||
151 | #endif /* _ASM_PCI_H */ | 152 | #endif /* _ASM_PCI_H */ |