]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-ppc/pci-bridge.h
Merge branch 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/linville/wirel...
[linux-2.6-omap-h63xx.git] / include / asm-ppc / pci-bridge.h
index e58c78f90a5a20849b8927a58c2187b519f50616..9d5230689b31dbf3d2e4b549301c82c9cca21dd2 100644 (file)
@@ -137,5 +137,14 @@ static inline unsigned char bridge_swizzle(unsigned char pin,
  */
 extern int pciauto_bus_scan(struct pci_controller *, int);
 
+#ifdef CONFIG_PCI
+extern unsigned long pci_address_to_pio(phys_addr_t address);
+#else
+static inline unsigned long pci_address_to_pio(phys_addr_t address)
+{
+       return (unsigned long)-1;
+}
+#endif
+
 #endif
 #endif /* __KERNEL__ */