[PATCH] clk: exynos: File scope reg_save array should depend on PM_SLEEP

Tomasz Figa t.figa at samsung.com
Mon Dec 30 12:51:06 EST 2013


On Wednesday 18 of December 2013 23:55:10 Mike Turquette wrote:
> Quoting Krzysztof Kozlowski (2013-12-17 01:56:39)
> > 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 at samsung.com>
> 
> Acked-by: Mike Turquette <mturquette at linaro.org>

Applied onto fixes branch.

Best regards,
Tomasz




More information about the linux-arm-kernel mailing list