aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/pci-bridge.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/pci-bridge.h')
-rw-r--r--include/asm-powerpc/pci-bridge.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h
index 3d94e55f25d6..443c75a16571 100644
--- a/include/asm-powerpc/pci-bridge.h
+++ b/include/asm-powerpc/pci-bridge.h
@@ -158,11 +158,11 @@ pcibios_alloc_controller(struct device_node *dev);
158extern void pcibios_free_controller(struct pci_controller *phb); 158extern void pcibios_free_controller(struct pci_controller *phb);
159 159
160#ifdef CONFIG_PCI 160#ifdef CONFIG_PCI
161extern unsigned int pci_address_to_pio(phys_addr_t address); 161extern unsigned long pci_address_to_pio(phys_addr_t address);
162#else 162#else
163static inline unsigned int pci_address_to_pio(phys_addr_t address) 163static inline unsigned long pci_address_to_pio(phys_addr_t address)
164{ 164{
165 return (unsigned int)-1; 165 return (unsigned long)-1;
166} 166}
167#endif 167#endif
168 168