linux/sound/soc/sh/rcar
Arnd Bergmann 6f5427039c
ASoC: rsnd: mark PM functions __maybe_unused
The suspend/resume callbacks are now optional, leading to a warning
when they are unused:

sound/soc/sh/rcar/core.c:1548:12: error: 'rsnd_resume' defined but not used [-Werror=unused-function]
 static int rsnd_resume(struct device *dev)
            ^~~~~~~~~~~
sound/soc/sh/rcar/core.c:1539:12: error: 'rsnd_suspend' defined but not used [-Werror=unused-function]
 static int rsnd_suspend(struct device *dev)

This marks the as __maybe_unused to avoid the warning.

Fixes: f8a9a29c4f ("ASoC: rsnd: set pm_ops in hibernate-compatible way")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-04-12 15:45:34 +01:00
..
adg.c ASoC: rsnd: fixup ADG register mask 2017-12-20 10:49:06 +00:00
cmd.c ASoC: rsnd: make arrays path and cmd_case static const 2017-06-30 12:45:36 +01:00
core.c ASoC: rsnd: mark PM functions __maybe_unused 2018-04-12 15:45:34 +01:00
ctu.c ASoC: rsnd: add rsnd_kctrl_xxx() macro 2017-10-11 09:46:17 +01:00
dma.c ASoC: rsnd: dma.c: spin lock is no longer needed in IRQ handler 2017-11-29 10:16:48 +00:00
dvc.c ASoC: rsnd: add rsnd_kctrl_xxx() macro 2017-10-11 09:46:17 +01:00
gen.c ASoC: rsnd: Delete an error message for a failed memory allocation in three functions 2017-08-10 16:32:38 +01:00
Makefile ASoC: rsrc-card: rename rsrc-card to simple-scu-card phase3 2016-08-24 11:19:16 +01:00
mix.c ASoC: rsnd: add rsnd_kctrl_xxx() macro 2017-10-11 09:46:17 +01:00
rsnd.h ASoC: rsnd: suppress rsnd_dai_call() debug message 2018-02-13 11:58:26 +00:00
src.c ASoC: rsnd: indicate IRQ error status for debug 2018-02-13 11:58:22 +00:00
ssi.c ASoC: rsnd: indicate IRQ error status for debug 2018-02-13 11:58:22 +00:00
ssiu.c ASoC: rsnd: ssiu: clear SSI_MODE for non TDM Extended modes 2017-11-28 11:52:52 +00:00