summaryrefslogtreecommitdiff
path: root/drivers/clk/clk.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-04-09 13:54:34 +0300
committerStephen Boyd <sboyd@kernel.org>2018-04-16 19:07:22 +0300
commita21b85944c9653f2a3388d0da962c7c70690c30f (patch)
tree26c51f92e0b983344afb55e2f01906ca0593eda4 /drivers/clk/clk.c
parent14867765351b75b5aa366310b4535b363d615247 (diff)
downloadlinux-a21b85944c9653f2a3388d0da962c7c70690c30f.tar.xz
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 <arnd@arndb.de> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk.c')
0 files changed, 0 insertions, 0 deletions