Commit b21f0522 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown

ASoC: add missing compile rule for max98371

It is still using old driver style, this patch also
fixup it.
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 64220b9d
...@@ -320,6 +320,7 @@ obj-$(CONFIG_SND_SOC_MAX98088) += snd-soc-max98088.o ...@@ -320,6 +320,7 @@ obj-$(CONFIG_SND_SOC_MAX98088) += snd-soc-max98088.o
obj-$(CONFIG_SND_SOC_MAX98090) += snd-soc-max98090.o obj-$(CONFIG_SND_SOC_MAX98090) += snd-soc-max98090.o
obj-$(CONFIG_SND_SOC_MAX98095) += snd-soc-max98095.o obj-$(CONFIG_SND_SOC_MAX98095) += snd-soc-max98095.o
obj-$(CONFIG_SND_SOC_MAX98357A) += snd-soc-max98357a.o obj-$(CONFIG_SND_SOC_MAX98357A) += snd-soc-max98357a.o
obj-$(CONFIG_SND_SOC_MAX98371) += snd-soc-max98371.o
obj-$(CONFIG_SND_SOC_MAX9867) += snd-soc-max9867.o obj-$(CONFIG_SND_SOC_MAX9867) += snd-soc-max9867.o
obj-$(CONFIG_SND_SOC_MAX98925) += snd-soc-max98925.o obj-$(CONFIG_SND_SOC_MAX98925) += snd-soc-max98925.o
obj-$(CONFIG_SND_SOC_MAX98926) += snd-soc-max98926.o obj-$(CONFIG_SND_SOC_MAX98926) += snd-soc-max98926.o
......
...@@ -349,12 +349,14 @@ static struct snd_soc_dai_driver max98371_dai[] = { ...@@ -349,12 +349,14 @@ static struct snd_soc_dai_driver max98371_dai[] = {
}; };
static const struct snd_soc_codec_driver max98371_codec = { static const struct snd_soc_codec_driver max98371_codec = {
.controls = max98371_snd_controls, .component_driver = {
.num_controls = ARRAY_SIZE(max98371_snd_controls), .controls = max98371_snd_controls,
.dapm_routes = max98371_audio_map, .num_controls = ARRAY_SIZE(max98371_snd_controls),
.num_dapm_routes = ARRAY_SIZE(max98371_audio_map), .dapm_routes = max98371_audio_map,
.dapm_widgets = max98371_dapm_widgets, .num_dapm_routes = ARRAY_SIZE(max98371_audio_map),
.num_dapm_widgets = ARRAY_SIZE(max98371_dapm_widgets), .dapm_widgets = max98371_dapm_widgets,
.num_dapm_widgets = ARRAY_SIZE(max98371_dapm_widgets),
},
}; };
static const struct regmap_config max98371_regmap = { static const struct regmap_config max98371_regmap = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment