提交 e0754d83 编写于 作者: S Scott Jiang 提交者: Mike Frysinger

Blackfin: bf537-stamp: fix ad73311 codec config macro

SND_BF5XX_SOC is for machine drivers while SND_SOC is for codec drivers.
Signed-off-by: NScott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
上级 d0556363
...@@ -2540,7 +2540,7 @@ static struct platform_device bfin_ac97_pcm = { ...@@ -2540,7 +2540,7 @@ static struct platform_device bfin_ac97_pcm = {
}; };
#endif #endif
#if defined(CONFIG_SND_BF5XX_SOC_AD73311) || defined(CONFIG_SND_BF5XX_SOC_AD73311_MODULE) #if defined(CONFIG_SND_SOC_AD73311) || defined(CONFIG_SND_SOC_AD73311_MODULE)
static struct platform_device bfin_ad73311_codec_device = { static struct platform_device bfin_ad73311_codec_device = {
.name = "ad73311", .name = "ad73311",
.id = -1, .id = -1,
...@@ -2782,7 +2782,7 @@ static struct platform_device *stamp_devices[] __initdata = { ...@@ -2782,7 +2782,7 @@ static struct platform_device *stamp_devices[] __initdata = {
&bfin_ac97_pcm, &bfin_ac97_pcm,
#endif #endif
#if defined(CONFIG_SND_BF5XX_SOC_AD73311) || defined(CONFIG_SND_BF5XX_SOC_AD73311_MODULE) #if defined(CONFIG_SND_SOC_AD73311) || defined(CONFIG_SND_SOC_AD73311_MODULE)
&bfin_ad73311_codec_device, &bfin_ad73311_codec_device,
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册