From: Manjunathappa, Prakash Date: Thu, 9 Feb 2012 05:04:38 +0000 (+0530) Subject: video: da8xx-fb: Fix build warning on unused label X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3a84409ce3cccdbe1753dd9fd4eb1a7a9dded5c3;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 Signed-off-by: Florian Tobias Schandinat --- 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: