mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
6f5427039c
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:
|
||
---|---|---|
.. | ||
adg.c | ||
cmd.c | ||
core.c | ||
ctu.c | ||
dma.c | ||
dvc.c | ||
gen.c | ||
Makefile | ||
mix.c | ||
rsnd.h | ||
src.c | ||
ssi.c | ||
ssiu.c |