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

Fix trivial compile warnings wrt unused functions by adding
__maybe_unused prefix:
  sound/soc/tegra/tegra210_ahub.c:567:12: warning: 'tegra_ahub_runtime_suspend' defined but not used [-Wunused-function]
  sound/soc/tegra/tegra210_ahub.c:579:12: warning: 'tegra_ahub_runtime_resume' defined but not used [-Wunused-function]

Fixes: 51a1295ee933 ("ASoC: tegra: Add Tegra210 based AHUB driver")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20200803141850.23713-4-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra210_ahub.c