diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-09-22 19:02:57 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-09-22 19:03:05 +0200 |
commit | 3ee7877a489be6e5b74b7deba91f2eecddba4e06 (patch) | |
tree | ca714429de18eb01c939705958c6f41409f8e1dd /arch/nios2/lib | |
parent | 0972e837c3631c4fbbf16080c76ebad0c94086d7 (diff) | |
download | barebox-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/nios2/lib')
-rw-r--r-- | arch/nios2/lib/clock.c | 2 | ||||
-rw-r--r-- | arch/nios2/lib/early_printf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/nios2/lib/clock.c b/arch/nios2/lib/clock.c index 05008be793..52f52fd145 100644 --- a/arch/nios2/lib/clock.c +++ b/arch/nios2/lib/clock.c @@ -24,7 +24,7 @@ #include <clock.h> #include <init.h> #include <asm/nios2-io.h> -#include <asm/io.h> +#include <io.h> static struct nios_timer *timer = (struct nios_timer *)NIOS_SOPC_TIMER_BASE; diff --git a/arch/nios2/lib/early_printf.c b/arch/nios2/lib/early_printf.c index 637bb73b0d..50b071ba5e 100644 --- a/arch/nios2/lib/early_printf.c +++ b/arch/nios2/lib/early_printf.c @@ -23,7 +23,7 @@ #include <stdio.h> #include <common.h> #include <asm/nios2-io.h> -#include <asm/io.h> +#include <io.h> void early_putc(char ch) { |