]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tegra: tegra210_i2s: Fix compile warning with CONFIG_PM=n
authorTakashi Iwai <tiwai@suse.de>
Mon, 3 Aug 2020 14:18:50 +0000 (16:18 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 3 Aug 2020 15:17:08 +0000 (16:17 +0100)
commitb53ce62b378742b1005d25755a29565c019437b5
tree022373d7a358c0f56d6239bea45b3a014fa0249c
parent41ddf0e239c4aa52f78a96bf7b2a0f34fd769b47
ASoC: tegra: tegra210_i2s: Fix compile warning with CONFIG_PM=n

Fix trivial compile warnings wrt unused functions by adding
__maybe_unused prefix:
  sound/soc/tegra/tegra210_i2s.c:167:12: warning: 'tegra210_i2s_runtime_suspend' defined but not used [-Wunused-function]
  sound/soc/tegra/tegra210_i2s.c:179:12: warning: 'tegra210_i2s_runtime_resume' defined but not used [-Wunused-function]

Fixes: 12ae0a058b1b ("ASoC: tegra: Add Tegra210 based I2S driver")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20200803141850.23713-6-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra210_i2s.c