|
@@ -493,8 +493,7 @@ static const struct ad7879_platform_data bfin_ad7879_ts_info = {
|
|
};
|
|
};
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#if defined(CONFIG_SND_BF5XX_I2S) || defined(CONFIG_SND_BF5XX_I2S_MODULE) || \
|
|
|
|
- defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE)
|
|
|
|
|
|
+#if defined(CONFIG_SND_BF5XX_I2S) || defined(CONFIG_SND_BF5XX_I2S_MODULE)
|
|
|
|
|
|
static const u16 bfin_snd_pin[][7] = {
|
|
static const u16 bfin_snd_pin[][7] = {
|
|
{P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS,
|
|
{P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS,
|
|
@@ -549,13 +548,6 @@ static struct platform_device bfin_i2s_pcm = {
|
|
};
|
|
};
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#if defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE)
|
|
|
|
-static struct platform_device bfin_tdm_pcm = {
|
|
|
|
- .name = "bfin-tdm-pcm-audio",
|
|
|
|
- .id = -1,
|
|
|
|
-};
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
#if defined(CONFIG_SND_BF5XX_AC97) || defined(CONFIG_SND_BF5XX_AC97_MODULE)
|
|
#if defined(CONFIG_SND_BF5XX_AC97) || defined(CONFIG_SND_BF5XX_AC97_MODULE)
|
|
static struct platform_device bfin_ac97_pcm = {
|
|
static struct platform_device bfin_ac97_pcm = {
|
|
.name = "bfin-ac97-pcm-audio",
|
|
.name = "bfin-ac97-pcm-audio",
|
|
@@ -575,18 +567,6 @@ static struct platform_device bfin_i2s = {
|
|
};
|
|
};
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#if defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE)
|
|
|
|
-static struct platform_device bfin_tdm = {
|
|
|
|
- .name = "bfin-tdm",
|
|
|
|
- .id = CONFIG_SND_BF5XX_SPORT_NUM,
|
|
|
|
- .num_resources = ARRAY_SIZE(bfin_snd_resources[CONFIG_SND_BF5XX_SPORT_NUM]),
|
|
|
|
- .resource = bfin_snd_resources[CONFIG_SND_BF5XX_SPORT_NUM],
|
|
|
|
- .dev = {
|
|
|
|
- .platform_data = &bfin_snd_data[CONFIG_SND_BF5XX_SPORT_NUM],
|
|
|
|
- },
|
|
|
|
-};
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
#if defined(CONFIG_SND_BF5XX_SOC_AD1836) \
|
|
#if defined(CONFIG_SND_BF5XX_SOC_AD1836) \
|
|
|| defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE)
|
|
|| defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE)
|
|
static const char * const ad1836_link[] = {
|
|
static const char * const ad1836_link[] = {
|
|
@@ -1269,10 +1249,6 @@ static struct platform_device *stamp_devices[] __initdata = {
|
|
&bfin_i2s_pcm,
|
|
&bfin_i2s_pcm,
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#if defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE)
|
|
|
|
- &bfin_tdm_pcm,
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
#if defined(CONFIG_SND_BF5XX_AC97) || defined(CONFIG_SND_BF5XX_AC97_MODULE)
|
|
#if defined(CONFIG_SND_BF5XX_AC97) || defined(CONFIG_SND_BF5XX_AC97_MODULE)
|
|
&bfin_ac97_pcm,
|
|
&bfin_ac97_pcm,
|
|
#endif
|
|
#endif
|
|
@@ -1281,10 +1257,6 @@ static struct platform_device *stamp_devices[] __initdata = {
|
|
&bfin_i2s,
|
|
&bfin_i2s,
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#if defined(CONFIG_SND_BF5XX_TDM) || defined(CONFIG_SND_BF5XX_TDM_MODULE)
|
|
|
|
- &bfin_tdm,
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
#if defined(CONFIG_SND_BF5XX_SOC_AD1836) || \
|
|
#if defined(CONFIG_SND_BF5XX_SOC_AD1836) || \
|
|
defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE)
|
|
defined(CONFIG_SND_BF5XX_SOC_AD1836_MODULE)
|
|
&bfin_ad1836_machine,
|
|
&bfin_ad1836_machine,
|