diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-08-16 09:41:05 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-22 15:17:11 -0400 |
commit | 8d3c09096500aa20702395b87c81a62ac9cbe3be (patch) | |
tree | a67c978884aeed6aff64925aa9f4e285a1662c9b | |
parent | 8fef6263ea68f6160637f370a5864d0a455c620d (diff) |
ASoC: omap-mcbsp: Remove unused defines
NUM_LINKS is no longer in use by the code.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/omap/omap-mcbsp.h | 16 |
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 | |||
58 | int omap_mcbsp_st_add_controls(struct snd_soc_pcm_runtime *rtd); | 42 | int omap_mcbsp_st_add_controls(struct snd_soc_pcm_runtime *rtd); |
59 | 43 | ||
60 | #endif | 44 | #endif |