aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2018-04-09 10:54:34 +0000
committerStephen Boyd <[email protected]>2018-04-16 16:07:22 +0000
commita21b85944c9653f2a3388d0da962c7c70690c30f (patch)
tree26c51f92e0b983344afb55e2f01906ca0593eda4 /lib/string_helpers.c
parentMerge branch 'clk-stm32mp1' into clk-fixes (diff)
downloadkernel-a21b85944c9653f2a3388d0da962c7c70690c30f.tar.gz
kernel-a21b85944c9653f2a3388d0da962c7c70690c30f.zip
clk: cs2000: mark resume function as __maybe_unused
When power management is disabled, we get a harmless warning: drivers/clk/clk-cs2000-cp.c:544:12: error: 'cs2000_resume' defined but not used [-Werror=unused-function] Marking the function as __maybe_unused lets the compiler silently drop it instead. Fixes: eade4ccdb087 ("clk: cs2000: set pm_ops in hibernate-compatible way") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions