mirror of https://gitee.com/openkylin/linux.git
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:
|
||
---|---|---|
.. | ||
rcar | ||
Kconfig | ||
Makefile | ||
dma-sh7760.c | ||
fsi.c | ||
hac.c | ||
migor.c | ||
sh7760-ac97.c | ||
siu.h | ||
siu_dai.c | ||
siu_pcm.c | ||
ssi.c |