diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/include/asm/pci.h | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/pci-common.c | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/pci.h b/arch/powerpc/include/asm/pci.h index 49c3de582be0..1c92013466e3 100644 --- a/arch/powerpc/include/asm/pci.h +++ b/arch/powerpc/include/asm/pci.h | |||
@@ -184,8 +184,6 @@ extern void of_scan_pci_bridge(struct pci_dev *dev); | |||
184 | extern void of_scan_bus(struct device_node *node, struct pci_bus *bus); | 184 | extern void of_scan_bus(struct device_node *node, struct pci_bus *bus); |
185 | extern void of_rescan_bus(struct device_node *node, struct pci_bus *bus); | 185 | extern void of_rescan_bus(struct device_node *node, struct pci_bus *bus); |
186 | 186 | ||
187 | extern int pci_read_irq_line(struct pci_dev *dev); | ||
188 | |||
189 | struct file; | 187 | struct file; |
190 | extern pgprot_t pci_phys_mem_access_prot(struct file *file, | 188 | extern pgprot_t pci_phys_mem_access_prot(struct file *file, |
191 | unsigned long pfn, | 189 | unsigned long pfn, |
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c index 9bffc028f45a..fa4a573d6716 100644 --- a/arch/powerpc/kernel/pci-common.c +++ b/arch/powerpc/kernel/pci-common.c | |||
@@ -214,7 +214,7 @@ char __devinit *pcibios_setup(char *str) | |||
214 | * If the interrupt is used, then gets the interrupt line from the | 214 | * If the interrupt is used, then gets the interrupt line from the |
215 | * openfirmware and sets it in the pci_dev and pci_config line. | 215 | * openfirmware and sets it in the pci_dev and pci_config line. |
216 | */ | 216 | */ |
217 | int pci_read_irq_line(struct pci_dev *pci_dev) | 217 | static int pci_read_irq_line(struct pci_dev *pci_dev) |
218 | { | 218 | { |
219 | struct of_irq oirq; | 219 | struct of_irq oirq; |
220 | unsigned int virq; | 220 | unsigned int virq; |
@@ -283,7 +283,6 @@ int pci_read_irq_line(struct pci_dev *pci_dev) | |||
283 | 283 | ||
284 | return 0; | 284 | return 0; |
285 | } | 285 | } |
286 | EXPORT_SYMBOL(pci_read_irq_line); | ||
287 | 286 | ||
288 | /* | 287 | /* |
289 | * Platform support for /proc/bus/pci/X/Y mmap()s, | 288 | * Platform support for /proc/bus/pci/X/Y mmap()s, |