summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManjunathappa, Prakash <prakash.pm@ti.com>2012-02-09 10:34:38 +0530
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-02-13 03:00:25 +0000
commit3a84409ce3cccdbe1753dd9fd4eb1a7a9dded5c3 (patch)
treef1da366d9b5f1c07eb825d29d5c430fb98e2e27a
parentc718a54649475cc397484f96e70f6d0fdd267165 (diff)
video: da8xx-fb: Fix build warning on unused label
Patch fixes build warning on label "err_cpu_freq" when CONFIG_CPU_FREQ is not defined. Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
-rw-r--r--drivers/video/da8xx-fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c
index 9ecc30744c6a..720cb837feda 100644
--- a/drivers/video/da8xx-fb.c
+++ b/drivers/video/da8xx-fb.c
@@ -1270,8 +1270,8 @@ static int __devinit fb_probe(struct platform_device *device)
irq_freq:
#ifdef CONFIG_CPU_FREQ
lcd_da8xx_cpufreq_deregister(par);
-#endif
err_cpu_freq:
+#endif
unregister_framebuffer(da8xx_fb_info);
err_dealloc_cmap: