powerpc/pci: remove duplicate declaration of pci_bus_find_capability
PATCH 1/1 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.
--- arch/powerpc/kernel/pci-common.c | 1 - 1 file changed, 1 deletion(-)
arch/powerpc/kernel/pci-common.c +0 -1
@@ -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) {
Signature · 1 line
1.7.9.5
Quoted 6 lines · Wei Yang
pci_bus_find_capability()is decleared inpci.h, so it is not necessary to do it again.This patch removes it.
Signed-off-by Wei Yang <[email protected]>
Thanks,
Gavin
Quoted 19 lines
---
arch/powerpc/kernel/pci-common.c| 1 -1 file changed, 1 deletion(-)arch/powerpc/kernel/pci-common.c +0
-1@@ -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) {Signature · 1 line
1.7.9.5
Quoted 4 lines · Gavin Shan
Quoted 3 lines · Wei Yang
pci_bus_find_capability()is decleared inpci.h, so it is not necessary to do it again.
Quoted 8 lines
Quoted 3 lines
This patch removes it.
Signed-off-by Wei Yang <[email protected]>Reviewed-by Gavin Shan <[email protected]>Thanks,
Gavin
Hi, Michael
I see this is not merged in your tree. Do you have some comment?
Quoted 20 lines
Quoted 20 lines
---
arch/powerpc/kernel/pci-common.c| 1 -1 file changed, 1 deletion(-)arch/powerpc/kernel/pci-common.c +0
-1@@ -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) {Signature · 1 line
1.7.9.5
Signature · 2 lines
Richard Yang Help you, Help me
Quoted 9 lines · Wei Yang
Quoted 8 lines · Gavin Shan
Quoted 6 lines · Wei Yang
pci_bus_find_capability()is decleared inpci.h, so it is not necessary to do it again.This patch removes it.
Signed-off-by Wei Yang <[email protected]>
Quoted 9 lines
Quoted 4 lines
Reviewed-by Gavin Shan <[email protected]>Thanks,
GavinHi, Michael
I see this is not merged in your tree. Do you have some comment?
Oops,
As pointed by Gavin, it is in the next branch.
Quoted 24 lines
Quoted 20 lines
Quoted 20 lines
---
arch/powerpc/kernel/pci-common.c| 1 -1 file changed, 1 deletion(-)arch/powerpc/kernel/pci-common.c +0
-1@@ -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) {Signature · 1 line
1.7.9.5Signature · 2 lines
Richard Yang Help you, Help me
Signature · 2 lines
Richard Yang Help you, Help me