summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/rockchip-spdif.txt
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-03-02 18:59:06 +0300
committerMark Brown <broonie@kernel.org>2016-03-05 06:53:40 +0300
commitd8fc2198aab117a4bc16ee305caef19c4c7e7f5c (patch)
tree4cd009c468927a51a9af702e470655332b8b2309 /Documentation/devicetree/bindings/sound/rockchip-spdif.txt
parentea2e5b96bd6e835052981b777253def60cfd905f (diff)
downloadlinux-d8fc2198aab117a4bc16ee305caef19c4c7e7f5c.tar.xz
ASoC: rockchip: use __maybe_unused to hide st_irq_syscfg_resume
The rockchip spdif driver uses SIMPLE_DEV_PM_OPS to conditionally set its power management functions, but we get a warning about rk_spdif_runtime_resume being unused when CONFIG_PM is not set: sound/soc/rockchip/rockchip_spdif.c:67:12: error: 'rk_spdif_runtime_resume' defined but not used [-Werror=unused-function] This adds a __maybe_unused annotation so the compiler knows it can silently drop it instead of warning. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/rockchip-spdif.txt')
0 files changed, 0 insertions, 0 deletions