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)
commit3fd68c99f3026f4fe3a1b7b6fb75e5638b2032fd
tree397252af843faf5df3d2eb5e84bbbd469d8d5d0b
parent2feed5aecf5f367b92bd6b6e92afe9e3de466907
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