s3c2410fb: silence warning
Subsystems (2)
PATCH 1/1 s3c2410fb: silence warning
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 <[email protected]>
---
---
drivers/video/s3c2410fb.c | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)
drivers/video/s3c2410fb.c +0 -1
@@ -766,7 +766,6 @@ static irqreturn_t s3c2410fb_irq(int irqstatic 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;
Can you please resend it not as a attachemnt. Thank you.
Quoted 12 lines
When building s3c2410fb with
CPU_FREQset, 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 <[email protected]>---