Skip to content

Commit

Permalink
ARM: ep93xx: clean-up mach/io.h
Browse files Browse the repository at this point in the history
Move ep93xx specifics in mach/io.h to ep93xx-regs.h.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ryan Mallon <rmallon@gmail.com>
  • Loading branch information
Rob Herring committed Mar 7, 2012
1 parent 6c38e25 commit 33f7e3e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
9 changes: 9 additions & 0 deletions arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
#ifndef __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:
*
Expand Down
9 changes: 0 additions & 9 deletions arch/arm/mach-ep93xx/include/mach/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,4 @@
#define __io(p) __typesafe_io(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 */

0 comments on commit 33f7e3e

Please sign in to comment.