mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 05:41:55 +00: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 |