aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/pci.h')
-rw-r--r--include/asm-powerpc/pci.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/asm-powerpc/pci.h b/include/asm-powerpc/pci.h
index e16e7bc9ab5c..7b11765c6865 100644
--- a/include/asm-powerpc/pci.h
+++ b/include/asm-powerpc/pci.h
@@ -95,8 +95,6 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev,
95#define get_pci_dma_ops() NULL 95#define get_pci_dma_ops() NULL
96#endif 96#endif
97 97
98extern int pci_domain_nr(struct pci_bus *bus);
99
100/* Decide whether to display the domain number in /proc */ 98/* Decide whether to display the domain number in /proc */
101extern int pci_proc_domain(struct pci_bus *bus); 99extern int pci_proc_domain(struct pci_bus *bus);
102 100
@@ -112,9 +110,6 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev,
112} 110}
113#endif 111#endif
114 112
115/* Return the index of the PCI controller for device PDEV. */
116#define pci_domain_nr(bus) ((struct pci_controller *)(bus)->sysdata)->index
117
118/* Set the name of the bus as it appears in /proc/bus/pci */ 113/* Set the name of the bus as it appears in /proc/bus/pci */
119static inline int pci_proc_domain(struct pci_bus *bus) 114static inline int pci_proc_domain(struct pci_bus *bus)
120{ 115{
@@ -123,6 +118,8 @@ static inline int pci_proc_domain(struct pci_bus *bus)
123 118
124#endif /* CONFIG_PPC64 */ 119#endif /* CONFIG_PPC64 */
125 120
121extern int pci_domain_nr(struct pci_bus *bus);
122
126struct vm_area_struct; 123struct vm_area_struct;
127/* Map a range of PCI memory or I/O space for a device into user space */ 124/* Map a range of PCI memory or I/O space for a device into user space */
128int pci_mmap_page_range(struct pci_dev *pdev, struct vm_area_struct *vma, 125int pci_mmap_page_range(struct pci_dev *pdev, struct vm_area_struct *vma,
@@ -202,10 +199,6 @@ static inline struct resource *pcibios_select_root(struct pci_dev *pdev,
202 return root; 199 return root;
203} 200}
204 201
205extern int unmap_bus_range(struct pci_bus *bus);
206
207extern int remap_bus_range(struct pci_bus *bus);
208
209extern void pcibios_fixup_device_resources(struct pci_dev *dev, 202extern void pcibios_fixup_device_resources(struct pci_dev *dev,
210 struct pci_bus *bus); 203 struct pci_bus *bus);
211 204