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

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: tas2781: mark const variables tas2563_dvc_table as __maybe_unused

In case of tas2781, tas2563_dvc_table will be unused,
so mark it as __maybe_unused.

Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
Link: https://patch.msgid.link/20240822063205.662-1-shenghao-ding@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Shenghao Ding and committed by
Mark Brown
1a9e3b0a 23618f5b

+1 -1
+1 -1
include/sound/tas2563-tlv.h
··· 18 18 static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2563_dvc_tlv, -12150, 50, 1); 19 19 20 20 /* pow(10, db/20) * pow(2,30) */ 21 - static const unsigned char tas2563_dvc_table[][4] = { 21 + static const __maybe_unused unsigned char tas2563_dvc_table[][4] = { 22 22 { 0X00, 0X00, 0X00, 0X00 }, /* -121.5db */ 23 23 { 0X00, 0X00, 0X03, 0XBC }, /* -121.0db */ 24 24 { 0X00, 0X00, 0X03, 0XF5 }, /* -120.5db */