Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: clps711x: Remove IO_ADDRESS() macro

All uses of the IO_ADDRESS() macro has been removed.
This patch removes the definition of this macro.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Olof Johansson <olof@lixom.net>

authored by

Alexander Shiyan and committed by
Olof Johansson
a8a28aff 4c834452

+1 -4
+1 -4
arch/arm/mach-clps711x/include/mach/hardware.h
··· 24 24 25 25 #include <mach/clps711x.h> 26 26 27 - #define IO_ADDRESS(x) (0xdc000000 + (((x) & 0x03ffffff) | \ 28 - (((x) >> 2) & 0x3c000000))) 29 - 30 - #define CLPS711X_VIRT_BASE IOMEM(IO_ADDRESS(CLPS711X_PHYS_BASE)) 27 + #define CLPS711X_VIRT_BASE IOMEM(0xfe000000) 31 28 32 29 #ifndef __ASSEMBLY__ 33 30 #define clps_readb(off) readb(CLPS711X_VIRT_BASE + (off))