summaryrefslogtreecommitdiffstats
path: root/sound/soc/qcom/qdsp6
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-07-09 18:23:18 +0200
committerMark Brown <broonie@kernel.org>2020-07-10 16:13:44 +0200
commit97d73032a89d85437d6be354ef1cfde7dd97a24a (patch)
tree019f92aedc477892cf6aa3fbbd1edfea8dc249c6 /sound/soc/qcom/qdsp6
parentMerge series "ASoC: mediatek: mt8183: support machine driver for rt1015" from... (diff)
downloadlinux-97d73032a89d85437d6be354ef1cfde7dd97a24a.tar.xz
linux-97d73032a89d85437d6be354ef1cfde7dd97a24a.zip
ASoC: sti: uniperif: fix 'defined by not used' warning
Fix W=1 warning. The table uni_tdm_hw is declared in a header included by multiple C file. This isn't really a good practice but for now using __maybe_unused makes the following warning go away. sound/soc/sti/sti_uniperif.c:12: sound/soc/sti/uniperif.h:1351:38: warning: ‘uni_tdm_hw’ defined but not used [-Wunused-const-variable=] 1351 | static const struct snd_pcm_hardware uni_tdm_hw = { | ^~~~~~~~~~ Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Acked-by: Arnaud Pouliquen <arnaud.pouliquen@st.com> Link: https://lore.kernel.org/r/20200709162328.259586-2-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom/qdsp6')
0 files changed, 0 insertions, 0 deletions