]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs43130: Fix unused compiler warnings for PM runtime
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Sep 2017 13:54:48 +0000 (15:54 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 4 Sep 2017 14:45:12 +0000 (15:45 +0100)
commit7f40f392b5b8bb61a95344c450ffccf5737bb08c
tree48f9a4a22997c463ce0a94df6680ed4ad7668220
parentdb62121bc58751da59e71f854f61935b434e5b9f
ASoC: cs43130: Fix unused compiler warnings for PM runtime

Add __maybe_unused prefix for addressing the following warnings:
  sound/soc/codecs/cs43130.c:2615:12: warning: ‘cs43130_runtime_resume’ defined but not used [-Wunused-function]
  sound/soc/codecs/cs43130.c:2596:12: warning: ‘cs43130_runtime_suspend’ defined but not used [-Wunused-function]

Fixes: 08c3e3bd63a0 ("ASoC: cs43130: Add support for CS43130 codec")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs43130.c