[ARM] Move prototype for register_isa_ports to asm/io.h
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 28 Aug 2006 11:45:16 +0000 (12:45 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Aug 2006 11:45:16 +0000 (12:45 +0100)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-footbridge/dc21285.c
include/asm-arm/io.h

index 607ed1f5b3f8fce10525e83d1075c224c7d8ee72..823e25d4547e8b0b7a0ad26b51844c93df290492 100644 (file)
@@ -35,7 +35,6 @@
 
 extern int setup_arm_irq(int, struct irqaction *);
 extern void pcibios_report_status(u_int status_mask, int warn);
-extern void register_isa_ports(unsigned int, unsigned int, unsigned int);
 
 static unsigned long
 dc21285_base_address(struct pci_bus *bus, unsigned int devfn)
index b3479fc1cc8f33ab2090eaf3431424bee027e3a6..bf7b9dea30f1f9b0ae7f16dfbc1cd752e5c5327c 100644 (file)
@@ -291,5 +291,12 @@ extern void pci_iounmap(struct pci_dev *dev, void __iomem *addr);
  */
 #define xlate_dev_kmem_ptr(p)  p
 
+/*
+ * Register ISA memory and port locations for glibc iopl/inb/outb
+ * emulation.
+ */
+extern void register_isa_ports(unsigned int mmio, unsigned int io,
+                              unsigned int io_shift);
+
 #endif /* __KERNEL__ */
 #endif /* __ASM_ARM_IO_H */