All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] C99 initializer fix for drivers/video/vfb.c
@ 2002-12-04 20:24 Art Haas
  2002-12-04 23:11 ` James Simmons
  0 siblings, 1 reply; 2+ messages in thread
From: Art Haas @ 2002-12-04 20:24 UTC (permalink / raw)
  To: linux-kernel; +Cc: Linus Torvalds

Hi.

This patch fixes a half-conversion to C99 initializers - the '='
characters were dropped. The patch is against 2.5.50.

Art Haas

--- linux-2.5.50/drivers/video/vfb.c.old	2002-12-04 13:25:50.000000000 -0600
+++ linux-2.5.50/drivers/video/vfb.c	2002-12-04 13:25:00.000000000 -0600
@@ -96,17 +96,17 @@
 		    struct vm_area_struct *vma);
 
 static struct fb_ops vfb_ops = {
-	.fb_set_var	gen_set_var,
-	.fb_get_cmap	gen_set_cmap,
-	.fb_set_cmap	gen_set_cmap,
-	.fb_check_var	vfb_check_var,
-	.fb_set_par	vfb_set_par,
-	.fb_setcolreg	vfb_setcolreg,
-	.fb_pan_display	vfb_pan_display,
-	.fb_fillrect	cfb_fillrect,
-	.fb_copyarea	cfb_copyarea,
-	.fb_imageblit	cfb_imageblit,
-	.fb_mmap	vfb_mmap,
+	.fb_set_var	= gen_set_var,
+	.fb_get_cmap	= gen_set_cmap,
+	.fb_set_cmap	= gen_set_cmap,
+	.fb_check_var	= vfb_check_var,
+	.fb_set_par	= vfb_set_par,
+	.fb_setcolreg	= vfb_setcolreg,
+	.fb_pan_display	= vfb_pan_display,
+	.fb_fillrect	= cfb_fillrect,
+	.fb_copyarea	= cfb_copyarea,
+	.fb_imageblit	= cfb_imageblit,
+	.fb_mmap	= vfb_mmap,
 };
 
     /*
-- 
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
 -- Benjamin Franklin, Historical Review of Pennsylvania, 1759

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

end of thread, other threads:[~2002-12-04 22:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-04 20:24 [PATCH] C99 initializer fix for drivers/video/vfb.c Art Haas
2002-12-04 23:11 ` James Simmons

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.