linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] video: da8xx-fb: Fix build warning on unused label
@ 2012-02-09  5:16 Manjunathappa, Prakash
  2012-02-09  5:16 ` [PATCH] video:da8xx-fb: calculate pixel clock period for the panel Manjunathappa, Prakash
  2012-02-13 21:27 ` [PATCH] video: da8xx-fb: Fix build warning on unused label Florian Tobias Schandinat
  0 siblings, 2 replies; 3+ messages in thread
From: Manjunathappa, Prakash @ 2012-02-09  5:16 UTC (permalink / raw)
  To: linux-fbdev
  Cc: Florian Tobias Schandinat, davinci-linux-open-source,
	linux-kernel, Manjunathappa, Prakash

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>
---
 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:
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-13 21:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-09  5:16 [PATCH] video: da8xx-fb: Fix build warning on unused label Manjunathappa, Prakash
2012-02-09  5:16 ` [PATCH] video:da8xx-fb: calculate pixel clock period for the panel Manjunathappa, Prakash
2012-02-13 21:27 ` [PATCH] video: da8xx-fb: Fix build warning on unused label Florian Tobias Schandinat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).