Skip to content

Commit

Permalink
[ARM] Move prototype for register_isa_ports to asm/io.h
Browse files Browse the repository at this point in the history
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Aug 28, 2006
1 parent 7034b0e commit 1645f20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/arm/mach-footbridge/dc21285.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
7 changes: 7 additions & 0 deletions include/asm-arm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 1645f20

Please sign in to comment.