summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm5100.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2018-01-29 02:59:35 +0000
committerMark Brown <broonie@kernel.org>2018-02-12 09:39:53 +0000
commit6119583847faf8db0a31a0894a537596e564ab9d (patch)
treee5628cd2885716c3e3b9faf9854f3469a8a96101 /sound/soc/codecs/wm5100.h
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff)
ASoC: wm5100: replace codec to component
Now we can replace Codec to Component. Let's do it. Note: xxx_codec_xxx() -> xxx_component_xxx() .idle_bias_off = 1 -> .idle_bias_on = 0 .ignore_pmdown_time = 0 -> .use_pmdown_time = 1 - -> .endianness = 1 - -> .non_legacy_dai_naming = 1 Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm5100.h')
-rw-r--r--sound/soc/codecs/wm5100.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm5100.h b/sound/soc/codecs/wm5100.h
index 935a9b7fb274..6076493cfd67 100644
--- a/sound/soc/codecs/wm5100.h
+++ b/sound/soc/codecs/wm5100.h
@@ -17,7 +17,7 @@
#include <sound/soc.h>
#include <linux/regmap.h>
-int wm5100_detect(struct snd_soc_codec *codec, struct snd_soc_jack *jack);
+int wm5100_detect(struct snd_soc_component *component, struct snd_soc_jack *jack);
#define WM5100_CLK_AIF1 1
#define WM5100_CLK_AIF2 2