Commit 33f7e3e1 authored by Rob Herring's avatar Rob Herring

ARM: ep93xx: clean-up mach/io.h

Move ep93xx specifics in mach/io.h to ep93xx-regs.h.
Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
Acked-by: default avatarHartley Sweeten <hsweeten@visionengravers.com>
Cc: Ryan Mallon <rmallon@gmail.com>
parent 6c38e25b
...@@ -5,6 +5,15 @@ ...@@ -5,6 +5,15 @@
#ifndef __ASM_ARCH_EP93XX_REGS_H #ifndef __ASM_ARCH_EP93XX_REGS_H
#define __ASM_ARCH_EP93XX_REGS_H #define __ASM_ARCH_EP93XX_REGS_H
/*
* A typesafe __io() variation for variable initialisers
*/
#ifdef __ASSEMBLER__
#define IOMEM(p) p
#else
#define IOMEM(p) ((void __iomem __force *)(p))
#endif
/* /*
* EP93xx Physical Memory Map: * EP93xx Physical Memory Map:
* *
......
...@@ -10,13 +10,4 @@ ...@@ -10,13 +10,4 @@
#define __io(p) __typesafe_io(p) #define __io(p) __typesafe_io(p)
#define __mem_pci(p) (p) #define __mem_pci(p) (p)
/*
* A typesafe __io() variation for variable initialisers
*/
#ifdef __ASSEMBLER__
#define IOMEM(p) p
#else
#define IOMEM(p) ((void __iomem __force *)(p))
#endif
#endif /* __ASM_MACH_IO_H */ #endif /* __ASM_MACH_IO_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment