Commit 2cfcc108 authored by Ban Tao's avatar Ban Tao Committed by Mark Brown

ASoC: sun50i-dmic: avoid unused variable warning for sun50i_dmic_of_match

In configurations with CONFIG_OF=n, we get a harmless build warning:

sound/soc/sunxi/sun50i-dmic.c:268:34: warning: unused variable
'sun50i_dmic_of_match' [-Wunused-const-variable]
Signed-off-by: default avatarBan Tao <fengzheng923@gmail.com>
Reported-by: default avatarkernel test robot <lkp@intel.com>
Acked-by: default avatarJernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/1666511085-2748-1-git-send-email-fengzheng923@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8da313ad
...@@ -391,7 +391,7 @@ static const struct dev_pm_ops sun50i_dmic_pm = { ...@@ -391,7 +391,7 @@ static const struct dev_pm_ops sun50i_dmic_pm = {
static struct platform_driver sun50i_dmic_driver = { static struct platform_driver sun50i_dmic_driver = {
.driver = { .driver = {
.name = "sun50i-dmic", .name = "sun50i-dmic",
.of_match_table = of_match_ptr(sun50i_dmic_of_match), .of_match_table = sun50i_dmic_of_match,
.pm = &sun50i_dmic_pm, .pm = &sun50i_dmic_pm,
}, },
.probe = sun50i_dmic_probe, .probe = sun50i_dmic_probe,
......
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