mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 20:02:10 -04:00
ASoC: codecs: da7219: fix 'defined but not used' warning
fix W=1 warning
sound/soc/codecs/da7219.c:1711:36: warning: 'da7219_acpi_match'
defined but not used [-Wunused-const-variable=]
1711 | static const struct acpi_device_id da7219_acpi_match[] = {
| ^~~~~~~~~~~~~~~~~
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Link: https://lore.kernel.org/r/20200707190612.97799-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
d3d0502ae5
commit
14310a9644
@@ -1708,11 +1708,13 @@ static const struct of_device_id da7219_of_match[] = {
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, da7219_of_match);
|
||||
|
||||
#ifdef CONFIG_ACPI
|
||||
static const struct acpi_device_id da7219_acpi_match[] = {
|
||||
{ .id = "DLGS7219", },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(acpi, da7219_acpi_match);
|
||||
#endif
|
||||
|
||||
static enum da7219_micbias_voltage
|
||||
da7219_fw_micbias_lvl(struct device *dev, u32 val)
|
||||
|
||||
Reference in New Issue
Block a user