Skip to content
Commit 3fd68c99 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Tomasz Figa
Browse files

clk: exynos: File scope reg_save array should depend on PM_SLEEP



Move reg_save[] into CONFIG_PM_SLEEP dependency block as it is used only
by suspend and resume functions.

This fixes the warning on CONFIG_PM_SLEEP=n:
drivers/clk/samsung/clk-exynos-audss.c:29:22: warning: ‘reg_save’ defined but not used [-Wunused-variable]

Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: default avatarMike Turquette <mturquette@linaro.org>
Signed-off-by: default avatarTomasz Figa <t.figa@samsung.com>
parent 2feed5ae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment