diff options
Diffstat (limited to 'sound/soc/omap/mcbsp.h')
-rw-r--r-- | sound/soc/omap/mcbsp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/omap/mcbsp.h b/sound/soc/omap/mcbsp.h index 49a67259ce5a..a89791c239a5 100644 --- a/sound/soc/omap/mcbsp.h +++ b/sound/soc/omap/mcbsp.h | |||
@@ -26,6 +26,12 @@ | |||
26 | 26 | ||
27 | #include "omap-pcm.h" | 27 | #include "omap-pcm.h" |
28 | 28 | ||
29 | #ifdef CONFIG_ARCH_OMAP1 | ||
30 | #define mcbsp_omap1() 1 | ||
31 | #else | ||
32 | #define mcbsp_omap1() 0 | ||
33 | #endif | ||
34 | |||
29 | /* McBSP register numbers. Register address offset = num * reg_step */ | 35 | /* McBSP register numbers. Register address offset = num * reg_step */ |
30 | enum { | 36 | enum { |
31 | /* Common registers */ | 37 | /* Common registers */ |