Re: [PATCH] video: da8xx-fb: Fix build warning on unused label
From: Florian Tobias Schandinat
Date: Mon Feb 13 2012 - 16:27:29 EST
On 02/09/2012 05:04 AM, Manjunathappa, Prakash wrote:
> Patch fixes build warning on label "err_cpu_freq" when CONFIG_CPU_FREQ
> is not defined.
>
> Signed-off-by: Manjunathappa, Prakash <prakash.pm@xxxxxx>
Applied.
Thanks,
Florian Tobias Schandinat
> ---
> drivers/video/da8xx-fb.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c
> index 29577bf..f360d62 100644
> --- a/drivers/video/da8xx-fb.c
> +++ b/drivers/video/da8xx-fb.c
> @@ -1264,8 +1264,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:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/