]> git.baikalelectronics.ru Git - kernel.git/commit
clk: exynos: File scope reg_save array should depend on PM_SLEEP
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Tue, 17 Dec 2013 09:56:39 +0000 (10:56 +0100)
committerTomasz Figa <t.figa@samsung.com>
Mon, 30 Dec 2013 17:01:09 +0000 (18:01 +0100)
commit67258572653e949b105471c3fd966c6b76024ff6
tree397252af843faf5df3d2eb5e84bbbd469d8d5d0b
parent2582bfb61d1da499d0fbb8bf22e4e482e4f07eba
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: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
drivers/clk/samsung/clk-exynos-audss.c