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 6013898..2eeb135 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 = {                                           \