linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] s3c2410fb: silence warning
@ 2010-03-08 23:33 Arnaud Patard
  2010-03-10 16:41 ` James Simmons
  0 siblings, 1 reply; 2+ messages in thread
From: Arnaud Patard @ 2010-03-08 23:33 UTC (permalink / raw)
  To: linux-fbdev; +Cc: Ben Dooks, linux-samsung-soc

[-- Attachment #1: Type: text/plain, Size: 311 bytes --]



When building s3c2410fb with CPU_FREQ set, one gets :

drivers/video/s3c2410fb.c: In function 's3c2410fb_cpufreq_transition':
drivers/video/s3c2410fb.c:769: warning: unused variable 'freqs'

Remove this useless declaration to silence the warning.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
---

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: fix_fb_warning.patch --]
[-- Type: text/x-diff, Size: 631 bytes --]

---
 drivers/video/s3c2410fb.c |    1 	0 +	1 -	0 !
 1 file changed, 1 deletion(-)

Index: linux-2.6/drivers/video/s3c2410fb.c
===================================================================
--- linux-2.6.orig/drivers/video/s3c2410fb.c	2010-03-09 00:22:08.317640239 +0100
+++ linux-2.6/drivers/video/s3c2410fb.c	2010-03-09 00:22:33.117640575 +0100
@@ -766,7 +766,6 @@ static irqreturn_t s3c2410fb_irq(int irq
 static int s3c2410fb_cpufreq_transition(struct notifier_block *nb,
 					unsigned long val, void *data)
 {
-	struct cpufreq_freqs *freqs = data;
 	struct s3c2410fb_info *info;
 	struct fb_info *fbinfo;
 	long delta_f;

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

* Re: [PATCH] s3c2410fb: silence warning
  2010-03-08 23:33 [PATCH] s3c2410fb: silence warning Arnaud Patard
@ 2010-03-10 16:41 ` James Simmons
  0 siblings, 0 replies; 2+ messages in thread
From: James Simmons @ 2010-03-10 16:41 UTC (permalink / raw)
  To: Arnaud Patard; +Cc: linux-fbdev, Ben Dooks, linux-samsung-soc


Can you please resend it not as a attachemnt. Thank you.


> 
> 
> When building s3c2410fb with CPU_FREQ set, one gets :
> 
> drivers/video/s3c2410fb.c: In function 's3c2410fb_cpufreq_transition':
> drivers/video/s3c2410fb.c:769: warning: unused variable 'freqs'
> 
> Remove this useless declaration to silence the warning.
> 
> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
> ---
> 

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

end of thread, other threads:[~2010-03-10 16:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-08 23:33 [PATCH] s3c2410fb: silence warning Arnaud Patard
2010-03-10 16:41 ` James Simmons

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).