[PATCH] C99 initializer fix for drivers/video/vfb.c

From: Art Haas (ahaas@airmail.net)
Date: Wed Dec 04 2002 - 15:24:08 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:20 EST