projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9410e01
)
powerpc/pci: remove duplicate declaration of pci_bus_find_capability
author
Wei Yang
<
[email protected]
>
Fri, 19 Sep 2014 09:25:22 +0000
(17:25 +0800)
committer
Michael Ellerman
<
[email protected]
>
Fri, 3 Oct 2014 07:27:38 +0000
(17:27 +1000)
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 <
[email protected]
>
Reviewed-by: Gavin Shan <
[email protected]
>
Signed-off-by: Michael Ellerman <
[email protected]
>
arch/powerpc/kernel/pci-common.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/pci-common.c
b/arch/powerpc/kernel/pci-common.c
index bd84771f89fcb96afb5b1390abe90f1831a90cbc..bd70a51d5747594906f24911d46f8a7b2abfb489 100644
(file)
--- 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)
{