aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
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
parentpowerpc/iommu/ddw: Fix endianness (diff)
downloadlinux-dev-8abf29f829de366b989b360af96b2ba871324ad6.tar.xz
linux-dev-8abf29f829de366b989b360af96b2ba871324ad6.zip
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')
-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 bd84771f89fc..bd70a51d5747 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)
{