mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-12 06:01:58 +00:00
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:
|
History
|
|
|---|---|---|
| .. | ||
| rcar | ||
| dma-sh7760.c | ||
| fsi.c | ||
| hac.c | ||
| Kconfig | ||
| Makefile | ||
| migor.c | ||
| sh7760-ac97.c | ||
| siu.h | ||
| siu_dai.c | ||
| siu_pcm.c | ||
| ssi.c | ||