linux/sound/soc/sh
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
..
rcar ASoC: rsnd: mark PM functions __maybe_unused 2018-04-12 15:45:34 +01:00
dma-sh7760.c ASoC: sh: dma-sh7760: replace platform to component 2018-02-12 11:45:14 +00:00
fsi.c ASoC: sh: fsi: replace platform to component 2018-02-12 11:45:15 +00:00
hac.c ASoC: sh: hac: add missing "int ret" 2017-07-24 13:06:53 +01:00
Kconfig ASoC: rsnd: add HDMI output support 2017-05-19 18:36:25 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
migor.c ASoC: sh: make snd_soc_ops const 2017-08-17 18:09:48 +01:00
sh7760-ac97.c
siu_dai.c ASoC: sh: siu: replace platform to component 2018-02-12 11:45:15 +00:00
siu_pcm.c ASoC: sh: siu: replace platform to component 2018-02-12 11:45:15 +00:00
siu.h ASoC: sh: siu: replace platform to component 2018-02-12 11:45:15 +00:00
ssi.c ASoC: sh: ssi: Convert to devm_snd_soc_register_component 2015-08-28 17:28:49 +01:00