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:
|
||
---|---|---|
.. | ||
rcar | ||
dma-sh7760.c | ||
fsi.c | ||
hac.c | ||
Kconfig | ||
Makefile | ||
migor.c | ||
sh7760-ac97.c | ||
siu_dai.c | ||
siu_pcm.c | ||
siu.h | ||
ssi.c |