summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/mcbsp.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-11-21 09:42:25 -0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-27 19:42:19 +0000
commite650794ae8f9799ee88f6ab67882ed3472d99595 (patch)
treefb274da95286491da54f6ae1f161f6f06e3cac2e /sound/soc/omap/mcbsp.h
parent9489e9dcae718d5fde988e4a684a0f55b5f94d17 (diff)
downloadop-kernel-dev-e650794ae8f9799ee88f6ab67882ed3472d99595.zip
op-kernel-dev-e650794ae8f9799ee88f6ab67882ed3472d99595.tar.gz
ASoC: OMAP: mcbsp fixes for enabling ARM multiplatform support
We cannot include any plat or mach headers for the multiplatform support. Fix the issue by defining local mcbsp_omap1(). Signed-off-by: Tony Lindgren <tony@atomide.com> Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com> Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/omap/mcbsp.h')
-rw-r--r--sound/soc/omap/mcbsp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/omap/mcbsp.h b/sound/soc/omap/mcbsp.h
index 49a6725..a89791c 100644
--- a/sound/soc/omap/mcbsp.h
+++ b/sound/soc/omap/mcbsp.h
@@ -26,6 +26,12 @@
#include "omap-pcm.h"
+#ifdef CONFIG_ARCH_OMAP1
+#define mcbsp_omap1() 1
+#else
+#define mcbsp_omap1() 0
+#endif
+
/* McBSP register numbers. Register address offset = num * reg_step */
enum {
/* Common registers */
OpenPOWER on IntegriCloud