aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/max9867.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2018-01-29 03:11:46 +0000
committerMark Brown <broonie@kernel.org>2018-02-12 09:44:41 +0000
commit91880a6b6ba398c74420b4b0d0ef6fc3005f71ca (patch)
treeab8db35a77310ea74e6685996b155f2e8b290fb6 /sound/soc/codecs/max9867.h
parentLinux 4.16-rc1 (diff)
downloadlinux-dev-91880a6b6ba398c74420b4b0d0ef6fc3005f71ca.tar.xz
linux-dev-91880a6b6ba398c74420b4b0d0ef6fc3005f71ca.zip
ASoC: wm9867: 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/max9867.h')
-rw-r--r--sound/soc/codecs/max9867.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/max9867.h b/sound/soc/codecs/max9867.h
index 65590b4ad62a..c0aea3d1f2ba 100644
--- a/sound/soc/codecs/max9867.h
+++ b/sound/soc/codecs/max9867.h
@@ -75,7 +75,7 @@
/* codec private data */
struct max9867_priv {
struct regmap *regmap;
- struct snd_soc_codec *codec;
+ struct snd_soc_component *component;
unsigned int sysclk;
unsigned int pclk;
unsigned int master;