aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/pci_32.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c
index 0adf077f3f3a..bfcfa14e831f 100644
--- a/arch/powerpc/kernel/pci_32.c
+++ b/arch/powerpc/kernel/pci_32.c
@@ -1468,3 +1468,10 @@ EARLY_PCI_OP(read, dword, u32 *)
1468EARLY_PCI_OP(write, byte, u8) 1468EARLY_PCI_OP(write, byte, u8)
1469EARLY_PCI_OP(write, word, u16) 1469EARLY_PCI_OP(write, word, u16)
1470EARLY_PCI_OP(write, dword, u32) 1470EARLY_PCI_OP(write, dword, u32)
1471
1472extern int pci_bus_find_capability (struct pci_bus *bus, unsigned int devfn, int cap);
1473int early_find_capability(struct pci_controller *hose, int bus, int devfn,
1474 int cap)
1475{
1476 return pci_bus_find_capability(fake_pci_bus(hose, bus), devfn, cap);
1477}