diff options
Diffstat (limited to 'include/asm-powerpc/pci.h')
| -rw-r--r-- | include/asm-powerpc/pci.h | 11 |
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 | ||
| 98 | extern 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 */ |
| 101 | extern int pci_proc_domain(struct pci_bus *bus); | 99 | extern 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 */ |
| 119 | static inline int pci_proc_domain(struct pci_bus *bus) | 114 | static 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 | ||
| 121 | extern int pci_domain_nr(struct pci_bus *bus); | ||
| 122 | |||
| 126 | struct vm_area_struct; | 123 | struct 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 */ |
| 128 | int pci_mmap_page_range(struct pci_dev *pdev, struct vm_area_struct *vma, | 125 | int 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 | ||
| 205 | extern int unmap_bus_range(struct pci_bus *bus); | ||
| 206 | |||
| 207 | extern int remap_bus_range(struct pci_bus *bus); | ||
| 208 | |||
| 209 | extern void pcibios_fixup_device_resources(struct pci_dev *dev, | 202 | extern void pcibios_fixup_device_resources(struct pci_dev *dev, |
| 210 | struct pci_bus *bus); | 203 | struct pci_bus *bus); |
| 211 | 204 | ||
