video: da8xx-fb: Fix build warning on unused label
authorManjunathappa, Prakash <prakash.pm@ti.com>
Thu, 9 Feb 2012 05:04:38 +0000 (10:34 +0530)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Mon, 13 Feb 2012 03:00:25 +0000 (03:00 +0000)
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>
drivers/video/da8xx-fb.c

index 9ecc30744c6a765e994a6fd15c7d3ac708037f93..720cb837feda4700a7a5c044369c920a05e5fb11 100644 (file)
@@ -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:
This page took 0.143826 seconds and 5 git commands to generate.