ASoC: tegra: tegra186_dspk: Fix compile warning with CONFIG_PM=n
authorTakashi Iwai <tiwai@suse.de>
Mon, 3 Aug 2020 14:18:46 +0000 (16:18 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 3 Aug 2020 15:17:04 +0000 (16:17 +0100)
commitb191f01a3756f8d5d0b92bad0a07dac7e373d8be
treec9ec9b9bcfc850be5c1f59d24032651c256183cb
parentccff7bd468d5e0595176656a051ef67c01f01968
ASoC: tegra: tegra186_dspk: Fix compile warning with CONFIG_PM=n

Fix trivial compile warnings wrt unused functions by adding
__maybe_unused prefix:
  sound/soc/tegra/tegra186_dspk.c:74:12: warning: 'tegra186_dspk_runtime_suspend' defined but not used [-Wunused-function]
  sound/soc/tegra/tegra186_dspk.c:86:12: warning: 'tegra186_dspk_runtime_resume' defined but not used [-Wunused-function]

Fixes: 327ef6470266 ("ASoC: tegra: Add Tegra186 based DSPK driver")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20200803141850.23713-2-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra186_dspk.c