diff options
author | Tony Lindgren <tony@atomide.com> | 2012-02-24 13:34:35 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-02-24 13:34:35 -0500 |
commit | 2c799cef4d145af2182594a41cb5e5b42f2535c5 (patch) | |
tree | 0d2f7e028e2b5e3c616243828d743b818d23c93a /drivers/char | |
parent | ee0839c22cdda7f2e5f06e2d0351e2b49e0975ff (diff) |
ARM: OMAP: Remove plat/io.h by splitting it into mach/io.h and mach/hardware.h
This is needed to minimize io.h so the SoC specific io.h
for ARMs can removed.
Note that minimal driver changes for DSS and RNG are needed to
include cpu.h for SoC detection macros.
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Matt Mackall <mpm@selenic.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/hw_random/omap-rng.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/hw_random/omap-rng.c b/drivers/char/hw_random/omap-rng.c index b757fac3cd1f..a07a5caa599c 100644 --- a/drivers/char/hw_random/omap-rng.c +++ b/drivers/char/hw_random/omap-rng.c | |||
@@ -26,6 +26,8 @@ | |||
26 | 26 | ||
27 | #include <asm/io.h> | 27 | #include <asm/io.h> |
28 | 28 | ||
29 | #include <plat/cpu.h> | ||
30 | |||
29 | #define RNG_OUT_REG 0x00 /* Output register */ | 31 | #define RNG_OUT_REG 0x00 /* Output register */ |
30 | #define RNG_STAT_REG 0x04 /* Status register | 32 | #define RNG_STAT_REG 0x04 /* Status register |
31 | [0] = STAT_BUSY */ | 33 | [0] = STAT_BUSY */ |