linux-stable/sound/soc
Arnd Bergmann 7e6358ec3b
ASoC: rt5514: mark PM functions as __maybe_unused
The new functions are only used when CONFIG_PM is enabled,
leading to a harmless warning:

sound/soc/codecs/rt5514-spi.c:474:12: error: 'rt5514_resume' defined but not used [-Werror=unused-function]
sound/soc/codecs/rt5514-spi.c:464:12: error: 'rt5514_suspend' defined but not used [-Werror=unused-function]

This marks them as __maybe_unused to make the build silent
again.

Fixes: 58f1c07d23 ("ASoC: rt5514: Voice wakeup support.")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-11-10 21:15:09 +00:00
..
adi
amd
atmel
au1x
bcm
blackfin
cirrus
codecs ASoC: rt5514: mark PM functions as __maybe_unused 2017-11-10 21:15:09 +00:00
davinci
dwc
fsl
generic
hisilicon
img
intel
jz4740
kirkwood
mediatek
mxs
nuc900
omap
pxa
qcom
rockchip
samsung
sh
sirf
spear
sti
stm
sunxi
tegra
txx9
ux500
xtensa
zte
Kconfig
Makefile
soc-ac97.c
soc-cache.c
soc-compress.c
soc-core.c
soc-dapm.c
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-io.c
soc-jack.c
soc-ops.c
soc-pcm.c
soc-topology.c
soc-utils.c