From: Alexander Shiyan Date: Thu, 19 Jun 2014 15:26:33 +0000 (+0400) Subject: ARM: clps711x: Remove IO_ADDRESS() macro X-Git-Tag: v3.17-rc1~80^2~30 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a8a28affc37a230ce86da01a2de207b55b49bb09;p=karo-tx-linux.git 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 Signed-off-by: Olof Johansson --- diff --git a/arch/arm/mach-clps711x/include/mach/hardware.h b/arch/arm/mach-clps711x/include/mach/hardware.h index 5d6afda1c0e8..292cbcb0ecad 100644 --- a/arch/arm/mach-clps711x/include/mach/hardware.h +++ b/arch/arm/mach-clps711x/include/mach/hardware.h @@ -24,10 +24,7 @@ #include -#define IO_ADDRESS(x) (0xdc000000 + (((x) & 0x03ffffff) | \ - (((x) >> 2) & 0x3c000000))) - -#define CLPS711X_VIRT_BASE IOMEM(IO_ADDRESS(CLPS711X_PHYS_BASE)) +#define CLPS711X_VIRT_BASE IOMEM(0xfe000000) #ifndef __ASSEMBLY__ #define clps_readb(off) readb(CLPS711X_VIRT_BASE + (off))