aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8903.h
diff options
context:
space:
mode:
authorGravatar Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 2018-01-29 03:05:11 +0000
committerGravatar Mark Brown <broonie@kernel.org> 2018-02-12 09:41:37 +0000
commit58bd2934923b7339e7320b1cbe87f13287c57c31 (patch)
treedd909d8799d0a969fc1284370430bbaaf2592ffa /sound/soc/codecs/wm8903.h
parentLinux 4.16-rc1 (diff)
downloadlinux-58bd2934923b7339e7320b1cbe87f13287c57c31.tar.gz
linux-58bd2934923b7339e7320b1cbe87f13287c57c31.tar.bz2
linux-58bd2934923b7339e7320b1cbe87f13287c57c31.zip
ASoC: wm8903: 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 = 0 -> .idle_bias_on = 1 .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/wm8903.h')
-rw-r--r--sound/soc/codecs/wm8903.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8903.h b/sound/soc/codecs/wm8903.h
index 0bb4a647755d..1301aa9dce6f 100644
--- a/sound/soc/codecs/wm8903.h
+++ b/sound/soc/codecs/wm8903.h
@@ -15,7 +15,7 @@
#include <linux/i2c.h>
-extern int wm8903_mic_detect(struct snd_soc_codec *codec,
+extern int wm8903_mic_detect(struct snd_soc_component *component,
struct snd_soc_jack *jack,
int det, int shrt);