Commit 1645f20b authored by Russell King's avatar Russell King Committed by Russell King

[ARM] Move prototype for register_isa_ports to asm/io.h

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 7034b0e6
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
extern int setup_arm_irq(int, struct irqaction *); extern int setup_arm_irq(int, struct irqaction *);
extern void pcibios_report_status(u_int status_mask, int warn); 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 static unsigned long
dc21285_base_address(struct pci_bus *bus, unsigned int devfn) dc21285_base_address(struct pci_bus *bus, unsigned int devfn)
......
...@@ -291,5 +291,12 @@ extern void pci_iounmap(struct pci_dev *dev, void __iomem *addr); ...@@ -291,5 +291,12 @@ extern void pci_iounmap(struct pci_dev *dev, void __iomem *addr);
*/ */
#define xlate_dev_kmem_ptr(p) p #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 /* __KERNEL__ */
#endif /* __ASM_ARM_IO_H */ #endif /* __ASM_ARM_IO_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment