aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/omap/omap-mcbsp.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/sound/soc/omap/omap-mcbsp.h b/sound/soc/omap/omap-mcbsp.h
index baebcee30e30..ba8386a0d8dc 100644
--- a/sound/soc/omap/omap-mcbsp.h
+++ b/sound/soc/omap/omap-mcbsp.h
@@ -39,22 +39,6 @@ enum omap_mcbsp_div {
39 OMAP_MCBSP_CLKGDV, /* Sample rate generator divider */ 39 OMAP_MCBSP_CLKGDV, /* Sample rate generator divider */
40}; 40};
41 41
42#if defined(CONFIG_SOC_OMAP2420)
43#define NUM_LINKS 2
44#endif
45#if defined(CONFIG_ARCH_OMAP15XX) || defined(CONFIG_ARCH_OMAP16XX)
46#undef NUM_LINKS
47#define NUM_LINKS 3
48#endif
49#if defined(CONFIG_ARCH_OMAP4)
50#undef NUM_LINKS
51#define NUM_LINKS 4
52#endif
53#if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_SOC_OMAP2430)
54#undef NUM_LINKS
55#define NUM_LINKS 5
56#endif
57
58int omap_mcbsp_st_add_controls(struct snd_soc_pcm_runtime *rtd); 42int omap_mcbsp_st_add_controls(struct snd_soc_pcm_runtime *rtd);
59 43
60#endif 44#endif