diff options
author | Wei Yang <weiyang@linux.vnet.ibm.com> | 2014-09-19 17:25:22 +0800 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-10-03 17:27:38 +1000 |
commit | 8abf29f829de366b989b360af96b2ba871324ad6 (patch) | |
tree | 510b335ee6b38f6b3857ab08b212fd3f7f6e078c /arch/powerpc/kernel | |
parent | 9410e0185e65394c0c6d046033904b53b97a9423 (diff) |
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')
-rw-r--r-- | arch/powerpc/kernel/pci-common.c | 1 |
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) { |