]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: uniphier: mark OF related data as maybe unused
authorKrzysztof Kozlowski <krzk@kernel.org>
Wed, 25 Nov 2020 16:44:26 +0000 (17:44 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 26 Nov 2020 13:07:09 +0000 (13:07 +0000)
commit4f3a6ed9e60ebafd5d8218d5f76a9c6247c3f1e5
treee7b7706cd536138dcfcb92af4c43049009d7354a
parente5836f100c9bd9560b6677d36f001384875e0974
ASoC: uniphier: mark OF related data as maybe unused

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

  sound/soc/uniphier/aio-ld11.c:375:34: warning: ‘uniphier_aio_of_match’ defined but not used [-Wunused-const-variable=]
  sound/soc/uniphier/evea.c:554:34: warning: ‘evea_of_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20201125164452.89239-14-krzk@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/uniphier/aio-ld11.c
sound/soc/uniphier/aio-pxs2.c
sound/soc/uniphier/evea.c