aboutsummaryrefslogtreecommitdiff
path: root/include/linux/string_helpers.h
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-06-29 16:33:17 +0200
committerMark Brown <[email protected]>2016-06-29 17:23:12 +0100
commit20f12f2c4819a36de92ec6be382d0636d3485c6b (patch)
tree89dfa9269998fbabd83740fb7954d1406c147208 /include/linux/string_helpers.h
parent262329fccad4914dbf4b49634cbe140dfb353c25 (diff)
ASoC: cs35l33: mark PM functions as __maybe_unused
The newly added cs35l33 driver produces a harmless warning when CONFIG_PM is disabled: sound/soc/codecs/cs35l33.c:908:12: error: 'cs35l33_runtime_suspend' defined but not used [-Werror=unused-function] sound/soc/codecs/cs35l33.c:868:12: error: 'cs35l33_runtime_resume' defined but not used [-Werror=unused-function] This adds __maybe_unused annotations to shut up the warning regardless of the configuration. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Paul Handrigan <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include/linux/string_helpers.h')
0 files changed, 0 insertions, 0 deletions