summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/fsl_asrc.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-03-28 16:53:10 +0200
committerMark Brown <broonie@kernel.org>2018-04-12 16:45:34 +0200
commit6f5427039c33e149b711c0f973fcac7f6875b768 (patch)
treec2c76ff896d6305a7ada8ab5f3a33252f1c85bd1 /sound/soc/fsl/fsl_asrc.h
parentASoC: fsl_ssi: Fix mode setting when changing channel number (diff)
downloadlinux-6f5427039c33e149b711c0f973fcac7f6875b768.tar.xz
linux-6f5427039c33e149b711c0f973fcac7f6875b768.zip
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: f8a9a29c4fe9 ("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>
Diffstat (limited to 'sound/soc/fsl/fsl_asrc.h')
0 files changed, 0 insertions, 0 deletions