summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tilcdc
diff options
context:
space:
mode:
authorGrygorii Strashko <Grygorii.Strashko@linaro.org>2015-02-25 18:19:43 +0200
committerJyri Sarha <jsarha@ti.com>2016-02-25 16:39:34 +0200
commit7974dff4957f953f0f6fd71c30e02a7c25aea7f0 (patch)
tree2d4d4f370a36bb892eb57a2cbe1191a2d0f7dce8 /drivers/gpu/drm/tilcdc
parent9c15390506d6888978fa98094f7578142d2e2f01 (diff)
downloadblackbird-op-linux-7974dff4957f953f0f6fd71c30e02a7c25aea7f0.tar.gz
blackbird-op-linux-7974dff4957f953f0f6fd71c30e02a7c25aea7f0.zip
drm/tilcdc: fix build error when !CONFIG_CPU_FREQ
Fix build error when !CONFIG_CPU_FREQ drivers/gpu/drm/tilcdc/tilcdc_drv.c: In function 'tilcdc_load': drivers/gpu/drm/tilcdc/tilcdc_drv.c:327:1: error: label 'fail_put_clk' defined but not used [-Werror=unused-label] fail_put_clk: ^ Signed-off-by: Grygorii Strashko <Grygorii.Strashko@linaro.org> Signed-off-by: Jyri Sarha <jsarha@ti.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/tilcdc')
-rw-r--r--drivers/gpu/drm/tilcdc/tilcdc_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
index c204359422a2..977c843f663a 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_drv.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_drv.c
@@ -325,9 +325,9 @@ fail_cpufreq_unregister:
#ifdef CONFIG_CPU_FREQ
cpufreq_unregister_notifier(&priv->freq_transition,
CPUFREQ_TRANSITION_NOTIFIER);
-#endif
fail_put_clk:
+#endif
clk_put(priv->clk);
fail_iounmap:
OpenPOWER on IntegriCloud