diff options
author | Liam Girdwood <lrg@ti.com> | 2012-07-31 19:47:32 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2012-11-27 11:41:36 +0800 |
commit | 2f4a1e75b8bb373ed806eea1ab4fc458a582f51b (patch) | |
tree | e09634b7168d227b9cd335ba8ee7ad598dabc240 | |
parent | 0ea591c2e993ccc3578d572d76f90ff04e810629 (diff) |
ASoC: aess: Allow userspace to include abe memory offsets
Signed-off-by: Liam Girdwood <lrg@ti.com>
-rw-r--r-- | sound/soc/omap/aess/abe_mem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/omap/aess/abe_mem.h b/sound/soc/omap/aess/abe_mem.h index c8fba3b9ae7..7fedfc647a5 100644 --- a/sound/soc/omap/aess/abe_mem.h +++ b/sound/soc/omap/aess/abe_mem.h @@ -159,6 +159,7 @@ struct omap_aess_addr { #define OMAP_AESS_CMEM__ID 7 +#ifdef __KERNEL__ /* Distinction between Read and Write from/to ABE memory * is useful for simulation tool */ @@ -209,5 +210,5 @@ static inline void *omap_aess_reset_mem(struct omap_aess *abe, return memset(abe->io_base[addr.bank] + addr.offset, 0, addr.bytes); } - +#endif /* __KERNEL__ */ #endif /*_ABE_MEM_H_*/ |