diff options
Diffstat (limited to 'arch/powerpc/sysdev/indirect_pci.c')
| -rw-r--r-- | arch/powerpc/sysdev/indirect_pci.c | 10 | 
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/powerpc/sysdev/indirect_pci.c b/arch/powerpc/sysdev/indirect_pci.c index 82fdad885d2..c6c8b526a4f 100644 --- a/arch/powerpc/sysdev/indirect_pci.c +++ b/arch/powerpc/sysdev/indirect_pci.c @@ -20,9 +20,8 @@  #include <asm/pci-bridge.h>  #include <asm/machdep.h> -static int -indirect_read_config(struct pci_bus *bus, unsigned int devfn, int offset, -		     int len, u32 *val) +int indirect_read_config(struct pci_bus *bus, unsigned int devfn, +			 int offset, int len, u32 *val)  {  	struct pci_controller *hose = pci_bus_to_host(bus);  	volatile void __iomem *cfg_data; @@ -78,9 +77,8 @@ indirect_read_config(struct pci_bus *bus, unsigned int devfn, int offset,  	return PCIBIOS_SUCCESSFUL;  } -static int -indirect_write_config(struct pci_bus *bus, unsigned int devfn, int offset, -		      int len, u32 val) +int indirect_write_config(struct pci_bus *bus, unsigned int devfn, +			  int offset, int len, u32 val)  {  	struct pci_controller *hose = pci_bus_to_host(bus);  	volatile void __iomem *cfg_data;  |