summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/pci-common.c
diff options
context:
space:
mode:
authorWei Yang <weiyang@linux.vnet.ibm.com>2014-09-19 17:25:22 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2014-10-03 17:27:38 +1000
commit8abf29f829de366b989b360af96b2ba871324ad6 (patch)
tree510b335ee6b38f6b3857ab08b212fd3f7f6e078c /arch/powerpc/kernel/pci-common.c
parent9410e0185e65394c0c6d046033904b53b97a9423 (diff)
downloadop-kernel-dev-8abf29f829de366b989b360af96b2ba871324ad6.zip
op-kernel-dev-8abf29f829de366b989b360af96b2ba871324ad6.tar.gz
powerpc/pci: remove duplicate declaration of pci_bus_find_capability
pci_bus_find_capability() is decleared in pci.h, so it is not necessary to do it again. This patch removes it. Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com> Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/pci-common.c')
-rw-r--r--arch/powerpc/kernel/pci-common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c
index bd84771..bd70a51 100644
--- a/arch/powerpc/kernel/pci-common.c
+++ b/arch/powerpc/kernel/pci-common.c
@@ -1561,7 +1561,6 @@ EARLY_PCI_OP(write, byte, u8)
EARLY_PCI_OP(write, word, u16)
EARLY_PCI_OP(write, dword, u32)
-extern int pci_bus_find_capability (struct pci_bus *bus, unsigned int devfn, int cap);
int early_find_capability(struct pci_controller *hose, int bus, int devfn,
int cap)
{
OpenPOWER on IntegriCloud