[PATCH, RESEND] drm: exynos: avoid unused function warning

2016-09-06 Thread Andrzej Hajda
On 09/06/2016 03:30 PM, Arnd Bergmann wrote: > When CONFIG_PM is not set, we get a warning about an unused function: > > drivers/gpu/drm/exynos/exynos_drm_gsc.c:1219:12: error: 'gsc_clk_ctrl' > defined but not used [-Werror=unused-function] > static int gsc_clk_ctrl(struct gsc_context *ctx, bool

[PATCH, RESEND] drm: exynos: avoid unused function warning

2016-09-06 Thread Arnd Bergmann
When CONFIG_PM is not set, we get a warning about an unused function: drivers/gpu/drm/exynos/exynos_drm_gsc.c:1219:12: error: 'gsc_clk_ctrl' defined but not used [-Werror=unused-function] static int gsc_clk_ctrl(struct gsc_context *ctx, bool enable) ^~~~ This removes the two