summaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-11-10 22:41:49 +0100
committerMark Brown <broonie@kernel.org>2014-11-18 16:37:58 +0100
commitca005f324ee38308b319c693f40523d959027acf (patch)
tree7e8abc28b18db78baf1e98c5c8bf9ce186be9f75 /include/sound/soc.h
parentASoC: ac97: Merge soc_ac97_dev_{un,}register()/soc_{un,}register_ac97_codec() (diff)
downloadlinux-ca005f324ee38308b319c693f40523d959027acf.tar.xz
linux-ca005f324ee38308b319c693f40523d959027acf.zip
ASoC: ac97: Drop support for setting platform data via the CPU DAI
This has no users since commit f0fba2ad1b6b ("ASoC: multi-component - ASoC Multi-Component Support") which was almost 5 years ago. Given that this runs after CODEC probe functions have been run it also doesn't seem to be that useful. So drop it altogether to make the code simpler. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 44b3ce531fd6..5b4dec693ca5 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -509,7 +509,6 @@ int snd_soc_set_ac97_ops_of_reset(struct snd_ac97_bus_ops *ops,
extern struct snd_ac97_bus_ops *soc_ac97_ops;
int snd_soc_ac97_register_dai_links(struct snd_soc_card *card);
-void snd_soc_ac97_add_pdata(struct snd_soc_pcm_runtime *rtd);
#else
static inline int snd_soc_ac97_register_dai_links(struct snd_soc_card *card)
@@ -517,8 +516,6 @@ static inline int snd_soc_ac97_register_dai_links(struct snd_soc_card *card)
return 0;
}
-static inline void snd_soc_ac97_add_pdata(struct snd_soc_pcm_runtime *rtd) {}
-
static inline int snd_soc_set_ac97_ops_of_reset(struct snd_ac97_bus_ops *ops,
struct platform_device *pdev)
{