Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: meson: t9015: mark OF related data as maybe unused

The driver can be compile tested with !CONFIG_OF making certain data
unused:

sound/soc/meson/t9015.c:315:34: warning: ‘t9015_ids’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20201125164452.89239-9-krzk@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
b397f021 d013a59a

+1 -1
+1 -1
sound/soc/meson/t9015.c
··· 312 312 &t9015_dai, 1); 313 313 } 314 314 315 - static const struct of_device_id t9015_ids[] = { 315 + static const struct of_device_id t9015_ids[] __maybe_unused = { 316 316 { .compatible = "amlogic,t9015", }, 317 317 { } 318 318 };