aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ppc
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ppc')
-rw-r--r--include/asm-ppc/pci-bridge.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-ppc/pci-bridge.h b/include/asm-ppc/pci-bridge.h
index 95672ddfe528..9d5230689b31 100644
--- a/include/asm-ppc/pci-bridge.h
+++ b/include/asm-ppc/pci-bridge.h
@@ -138,11 +138,11 @@ static inline unsigned char bridge_swizzle(unsigned char pin,
138extern int pciauto_bus_scan(struct pci_controller *, int); 138extern int pciauto_bus_scan(struct pci_controller *, int);
139 139
140#ifdef CONFIG_PCI 140#ifdef CONFIG_PCI
141extern unsigned int pci_address_to_pio(phys_addr_t address); 141extern unsigned long pci_address_to_pio(phys_addr_t address);
142#else 142#else
143static inline unsigned int pci_address_to_pio(phys_addr_t address) 143static inline unsigned long pci_address_to_pio(phys_addr_t address)
144{ 144{
145 return (unsigned int)-1; 145 return (unsigned long)-1;
146} 146}
147#endif 147#endif
148 148