summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ep93xx
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-09-22 19:02:57 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-09-22 19:03:05 +0200
commit3ee7877a489be6e5b74b7deba91f2eecddba4e06 (patch)
treeca714429de18eb01c939705958c6f41409f8e1dd /arch/arm/mach-ep93xx
parent0972e837c3631c4fbbf16080c76ebad0c94086d7 (diff)
downloadbarebox-3ee7877a489be6e5b74b7deba91f2eecddba4e06.tar.gz
barebox-3ee7877a489be6e5b74b7deba91f2eecddba4e06.tar.xz
introduce io.h
To allow for some generic io accessors introduce io.h and use this instead of asm/io.h throughout the tree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-ep93xx')
-rw-r--r--arch/arm/mach-ep93xx/clocksource.c2
-rw-r--r--arch/arm/mach-ep93xx/gpio.c2
-rw-r--r--arch/arm/mach-ep93xx/led.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-ep93xx/clocksource.c b/arch/arm/mach-ep93xx/clocksource.c
index b500948968..ce8a29fee7 100644
--- a/arch/arm/mach-ep93xx/clocksource.c
+++ b/arch/arm/mach-ep93xx/clocksource.c
@@ -23,7 +23,7 @@
#include <common.h>
#include <init.h>
#include <clock.h>
-#include <asm/io.h>
+#include <io.h>
#include <mach/ep93xx-regs.h>
#define TIMER_CLKSEL (1 << 3)
diff --git a/arch/arm/mach-ep93xx/gpio.c b/arch/arm/mach-ep93xx/gpio.c
index 5d57434031..f4def289e4 100644
--- a/arch/arm/mach-ep93xx/gpio.c
+++ b/arch/arm/mach-ep93xx/gpio.c
@@ -20,7 +20,7 @@
#include <common.h>
#include <errno.h>
#include <init.h>
-#include <asm/io.h>
+#include <io.h>
#include <mach/ep93xx-regs.h>
#define EP93XX_GPIO_NUM_PORTS 8
diff --git a/arch/arm/mach-ep93xx/led.c b/arch/arm/mach-ep93xx/led.c
index 6d6b90235f..91f33d1aea 100644
--- a/arch/arm/mach-ep93xx/led.c
+++ b/arch/arm/mach-ep93xx/led.c
@@ -21,7 +21,7 @@
*/
#include <common.h>
-#include <asm/io.h>
+#include <io.h>
#include <mach/ep93xx-regs.h>
#define GREEN_LED_POS 0x01