All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] ASoC: tas2781: mark const variables tas2563_dvc_table as __maybe_unused
@ 2024-08-22  6:32 Shenghao Ding
  2024-08-22 13:36 ` Andy Shevchenko
  2024-08-22 16:17 ` Mark Brown
  0 siblings, 2 replies; 7+ messages in thread
From: Shenghao Ding @ 2024-08-22  6:32 UTC (permalink / raw)
  To: broonie
  Cc: andriy.shevchenko, lgirdwood, perex, pierre-louis.bossart,
	13916275206, zhourui, alsa-devel, i-salazar, liam.r.girdwood,
	jaden-yue, yung-chuan.liao, dipa, yuhsuan, henry.lo, tiwai,
	baojun.xu, Baojun.Xu, judyhsiao, navada, cujomalainey, aanya,
	nayeem.mahmud, savyasanchi.shukla, flaviopr, jesse-ji, darren.ye,
	antheas.dk, Jerry2.Huang, jim.shil, Shenghao Ding

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>
---
 include/sound/tas2563-tlv.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/sound/tas2563-tlv.h b/include/sound/tas2563-tlv.h
index faa3e194f73b..bb269b21f460 100644
--- 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 */
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-08-26 12:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-22  6:32 [PATCH v1] ASoC: tas2781: mark const variables tas2563_dvc_table as __maybe_unused Shenghao Ding
2024-08-22 13:36 ` Andy Shevchenko
2024-08-23  2:24   ` [EXTERNAL] " Ding, Shenghao
2024-08-23 13:34     ` Andy Shevchenko
2024-08-24  6:33       ` Ding, Shenghao
2024-08-26 10:02         ` Andy Shevchenko
2024-08-22 16:17 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.