diff options
author | Tony Lindgren <tony@atomide.com> | 2012-02-24 10:34:35 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-02-24 10:34:35 -0800 |
commit | 2c799cef4d145af2182594a41cb5e5b42f2535c5 (patch) | |
tree | 0d2f7e028e2b5e3c616243828d743b818d23c93a /arch/arm/plat-omap/dma.c | |
parent | ee0839c22cdda7f2e5f06e2d0351e2b49e0975ff (diff) | |
download | linux-2c799cef4d145af2182594a41cb5e5b42f2535c5.tar.bz2 |
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 'arch/arm/plat-omap/dma.c')
-rw-r--r-- | arch/arm/plat-omap/dma.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c index 002fb4d96bbc..95c3ed693f65 100644 --- a/arch/arm/plat-omap/dma.c +++ b/arch/arm/plat-omap/dma.c @@ -164,6 +164,8 @@ static inline void set_gdma_dev(int req, int dev) } #else #define set_gdma_dev(req, dev) do {} while (0) +#define omap_readl(reg) 0 +#define omap_writel(val, reg) do {} while (0) #endif void omap_set_dma_priority(int lch, int dst_port, int priority) |