diff options
author | Ban Tao <fengzheng923@gmail.com> | 2022-10-23 00:44:45 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-10-24 13:54:43 +0100 |
commit | 2cfcc1085d3b7b7c893be41034853d4c63a41092 (patch) | |
tree | 085dbec5eed8828f92bb76dfc769f44e7bc59384 /sound/soc/sunxi | |
parent | 8da313ad1bd020859e2ee8a3e8e97e52425e539c (diff) | |
download | linux-stable-2cfcc1085d3b7b7c893be41034853d4c63a41092.tar.gz linux-stable-2cfcc1085d3b7b7c893be41034853d4c63a41092.tar.bz2 linux-stable-2cfcc1085d3b7b7c893be41034853d4c63a41092.zip |
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: Ban Tao <fengzheng923@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/1666511085-2748-1-git-send-email-fengzheng923@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sunxi')
-rw-r--r-- | sound/soc/sunxi/sun50i-dmic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sunxi/sun50i-dmic.c b/sound/soc/sunxi/sun50i-dmic.c index 86cff5a5b1bd..62509cb02995 100644 --- a/sound/soc/sunxi/sun50i-dmic.c +++ b/sound/soc/sunxi/sun50i-dmic.c @@ -391,7 +391,7 @@ static const struct dev_pm_ops sun50i_dmic_pm = { static struct platform_driver sun50i_dmic_driver = { .driver = { .name = "sun50i-dmic", - .of_match_table = of_match_ptr(sun50i_dmic_of_match), + .of_match_table = sun50i_dmic_of_match, .pm = &sun50i_dmic_pm, }, .probe = sun50i_dmic_probe, |