Răsfoiți Sursa

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>
Alexander Shiyan 11 ani în urmă
părinte
comite
a8a28affc3
1 a modificat fișierele cu 1 adăugiri și 4 ștergeri
  1. 1 4
      arch/arm/mach-clps711x/include/mach/hardware.h

+ 1 - 4
arch/arm/mach-clps711x/include/mach/hardware.h

@@ -24,10 +24,7 @@
 
 #include <mach/clps711x.h>
 
-#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))