diff options
author | Arnd Bergmann | 2017-11-10 15:54:42 +0100 |
---|---|---|
committer | Mark Brown | 2017-11-10 22:15:09 +0100 |
commit | 7e6358ec3b6f69815a42af6203219584a80d4e22 (patch) | |
tree | c0238a2a67c5ce43e47a851b7cb35ede23970b5f /tools/perf/ui/gtk/hists.c | |
parent | ASoC: rt5514-spi: check irq status to schedule data copy in resume function (diff) | |
download | kernel-qcow2-linux-7e6358ec3b6f69815a42af6203219584a80d4e22.tar.gz kernel-qcow2-linux-7e6358ec3b6f69815a42af6203219584a80d4e22.tar.xz kernel-qcow2-linux-7e6358ec3b6f69815a42af6203219584a80d4e22.zip |
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: 58f1c07d23cd ("ASoC: rt5514: Voice wakeup support.")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/ui/gtk/hists.c')
0 files changed, 0 insertions, 0 deletions