0560cf5aa5
As Al did for Versatile in 2ad4f86b60
,
add a typesafe __io implementation for platforms to use. Convert
platforms to use this new simple typesafe implementation.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
19 lines
383 B
C
19 lines
383 B
C
/*
|
|
* arch/arm/mach-pxa/include/mach/io.h
|
|
*
|
|
* Copied from asm/arch/sa1100/io.h
|
|
*/
|
|
#ifndef __ASM_ARM_ARCH_IO_H
|
|
#define __ASM_ARM_ARCH_IO_H
|
|
|
|
#define IO_SPACE_LIMIT 0xffffffff
|
|
|
|
/*
|
|
* We don't actually have real ISA nor PCI buses, but there is so many
|
|
* drivers out there that might just work if we fake them...
|
|
*/
|
|
#define __io(a) __typesafe_io(a)
|
|
#define __mem_pci(a) (a)
|
|
|
|
#endif
|