ASoC: OMAP: Fix preprocessor filled DAI name in McBSP DAI
authorJarkko Nikula <jarkko.nikula@nokia.com>
Fri, 21 Nov 2008 12:31:33 +0000 (14:31 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 21 Nov 2008 14:35:06 +0000 (14:35 +0000)
Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/omap/omap-mcbsp.c

index 6013898f49b4260cac3216eb647d728373d40d71..2eeb135c1e4bb6ccf5bcf47467d27d7dbae753f5 100644 (file)
@@ -454,7 +454,7 @@ static int omap_mcbsp_dai_set_dai_sysclk(struct snd_soc_dai *cpu_dai,
 
 #define OMAP_MCBSP_DAI_BUILDER(link_id)                                \
 {                                                              \
-       .name = "omap-mcbsp-dai-(link_id)",                     \
+       .name = "omap-mcbsp-dai-"#link_id,                      \
        .id = (link_id),                                        \
        .type = SND_SOC_DAI_I2S,                                \
        .playback = {                                           \