mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
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>
This commit is contained in:
parent
23618f5b63
commit
1a9e3b0af3
@ -18,7 +18,7 @@
|
|||||||
static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2563_dvc_tlv, -12150, 50, 1);
|
static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2563_dvc_tlv, -12150, 50, 1);
|
||||||
|
|
||||||
/* pow(10, db/20) * pow(2,30) */
|
/* pow(10, db/20) * pow(2,30) */
|
||||||
static const unsigned char tas2563_dvc_table[][4] = {
|
static const __maybe_unused unsigned char tas2563_dvc_table[][4] = {
|
||||||
{ 0X00, 0X00, 0X00, 0X00 }, /* -121.5db */
|
{ 0X00, 0X00, 0X00, 0X00 }, /* -121.5db */
|
||||||
{ 0X00, 0X00, 0X03, 0XBC }, /* -121.0db */
|
{ 0X00, 0X00, 0X03, 0XBC }, /* -121.0db */
|
||||||
{ 0X00, 0X00, 0X03, 0XF5 }, /* -120.5db */
|
{ 0X00, 0X00, 0X03, 0XF5 }, /* -120.5db */
|
||||||
|
Loading…
Reference in New Issue
Block a user