Commit 041fe885 authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown

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: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20221118015106.532302-1-yung-chuan.liao@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent f38d4c72
......@@ -11,7 +11,7 @@
#define RT1308_MAX_BQ_REG 480
#define RT1316_MAX_BQ_REG 580
static const u8 dell_0a5d_bq_params[] = {
static const u8 __maybe_unused dell_0a5d_bq_params[] = {
0xb0, 0xc5, 0x00, /* address: 0xc5b0; data: 0x00 */
0xb1, 0xc5, 0x32,
0xb2, 0xc5, 0x44,
......@@ -160,7 +160,7 @@ static const u8 dell_0a5d_bq_params[] = {
0x50, 0xc5, 0x01,
};
static const u8 dell_0b00_bq_params[] = {
static const u8 __maybe_unused dell_0b00_bq_params[] = {
0x03, 0xc2, 0x00,
0x04, 0xc2, 0xb2,
0x05, 0xc2, 0xe0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment