clk: samsung: exynos4415: Fix build with PM_SLEEP disabled
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 1 Dec 2014 09:12:54 +0000 (10:12 +0100)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 2 Dec 2014 15:22:58 +0000 (16:22 +0100)
commitb5f56e14c1c962e201a8afa80e156f64fdef778a
tree5b36ef5c8ab5ec958175702b31dc0ba86c0080e8
parent8b2f63606a1322bd051e15913a8233295e8a7599
clk: samsung: exynos4415: Fix build with PM_SLEEP disabled

Fix following build errors when PM_SLEEP is disabled (e.g. by disabling
SUSPEND and HIBERNATION):

drivers/clk/samsung/clk-exynos4415.c: In function ‘exynos4415_cmu_init’:
drivers/clk/samsung/clk-exynos4415.c:982:2: error: ‘exynos4415_ctx’ undeclared (first use in this function)
drivers/clk/samsung/clk-exynos4415.c:982:2: note: each undeclared identifier is reported only once for each function it appears in
drivers/clk/samsung/clk-exynos4415.c: In function ‘exynos4415_cmu_dmc_init’:
drivers/clk/samsung/clk-exynos4415.c:1123:2: error: ‘exynos4415_dmc_ctx’ undeclared (first use in this function)
make[3]: *** [drivers/clk/samsung/clk-exynos4415.o] Error 1

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/clk/samsung/clk-exynos4415.c