ASoC: Intel: sof_sdw_amp: mark coeff tables with __maybe_unused
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 18 Nov 2022 01:51:06 +0000 (09:51 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 18 Nov 2022 14:04:42 +0000 (14:04 +0000)
commit041fe8858475a0337b28404ec5136f4fc583b3aa
treef15e69418d01bb861d710f301ab2dc3c81212baf
parentf38d4c72cb2d68e73d3e54feb68febd6b7c4bfd2
ASoC: Intel: sof_sdw_amp: mark coeff tables with __maybe_unused

The same file provides two tables used in separate drivers, make them
as __maybe_unused to avoid errors:

sound/soc/intel/boards/sof_sdw_amp_coeff_tables.h:163:17: error:
‘dell_0b00_bq_params’ defined but not used
[-Werror=unused-const-variable=]
  163 | static const u8 dell_0b00_bq_params[] = {

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20221118015106.532302-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw_amp_coeff_tables.h