]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] au1100fb: convert to C99 inits.
authorrandy_dunlap <rdunlap@xenotime.net>
Sat, 25 Jun 2005 21:58:39 +0000 (14:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:57 +0000 (16:24 -0700)
au1100: use C99 struct init.

Signed-off-by: randy_dunlap <rdunlap@xenotime.net>
Acked-by: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/au1100fb.c

index cacd88cc84ab6e56c680ae8b543e06e7a6e89034..b6fe30c3ad6253691417d61552643805ac31d57b 100644 (file)
@@ -111,15 +111,15 @@ static int au1100fb_ioctl(struct inode *inode, struct file *file, u_int cmd,
 void au1100_nocursor(struct display *p, int mode, int xx, int yy){};
 
 static struct fb_ops au1100fb_ops = {
-       owner:          THIS_MODULE,
-       fb_get_fix:     fbgen_get_fix,
-       fb_get_var:     fbgen_get_var,
-       fb_set_var:     fbgen_set_var,
-       fb_get_cmap:    fbgen_get_cmap,
-       fb_set_cmap:    fbgen_set_cmap,
-       fb_pan_display: fbgen_pan_display,
-        fb_ioctl:       au1100fb_ioctl,
-       fb_mmap:        au1100fb_mmap,
+       .owner          = THIS_MODULE,
+       .fb_get_fix     = fbgen_get_fix,
+       .fb_get_var     = fbgen_get_var,
+       .fb_set_var     = fbgen_set_var,
+       .fb_get_cmap    = fbgen_get_cmap,
+       .fb_set_cmap    = fbgen_set_cmap,
+       .fb_pan_display = fbgen_pan_display,
+        .fb_ioctl      = au1100fb_ioctl,
+       .fb_mmap        = au1100fb_mmap,
 };
 
 static void au1100_detect(void)