]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ti: j721e-evm: Fix compiler warning when CONFIG_OF=n
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 28 Sep 2020 07:43:30 +0000 (10:43 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 28 Sep 2020 16:59:03 +0000 (17:59 +0100)
commit79c3e203e528eaa719da02aeca1f811b65ddfbbf
tree6511cb5b13e9138dacc9c440df57270fefdc9b98
parent1ab3d8c27b7453a28d947ed9b9a2da1d09d2c9ff
ASoC: ti: j721e-evm: Fix compiler warning when CONFIG_OF=n

Remove the use of of_match_ptr() macro for of_match_table to fix compiler
warning when CONFIG_OF=n:

sound/soc/ti/j721e-evm.c:528:34: warning: unused variable 'j721e_audio_of_match' [-Wunused-const-variable]

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200928074330.13029-1-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/j721e-evm.c