projects
/
linux
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23618f5
)
ASoC: tas2781: mark const variables tas2563_dvc_table as __maybe_unused
author
Shenghao Ding
<shenghao-ding@ti.com>
Thu, 22 Aug 2024 06:32:02 +0000
(14:32 +0800)
committer
Mark Brown
<broonie@kernel.org>
Thu, 22 Aug 2024 12:34:12 +0000
(13:34 +0100)
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>
include/sound/tas2563-tlv.h
patch
|
blob
|
history
diff --git
a/include/sound/tas2563-tlv.h
b/include/sound/tas2563-tlv.h
index faa3e194f73b1622ba20c1cc12d8eb42cbf93ccd..bb269b21f46029ce7c4d37a5833e4b5de1ba151d 100644
(file)
--- a/
include/sound/tas2563-tlv.h
+++ b/
include/sound/tas2563-tlv.h
@@
-18,7
+18,7
@@
static const __maybe_unused DECLARE_TLV_DB_SCALE(tas2563_dvc_tlv, -12150, 50, 1);
/* 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, 0X03, 0XBC }, /* -121.0db */
{ 0X00, 0X00, 0X03, 0XF5 }, /* -120.5db */