[PATCH] au1100fb: use C99 struct init.

From
Randy.Dunlap <hidden>
Date
2005-02-22 00:09:27
au1100: use C99 struct init.

Signed-off-by: Randy Dunlap <redacted>

diffstat:=
 drivers/video/au1100fb.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff -Naurp ./drivers/video/au1100fb.c~au1100_c99 ./drivers/video/au1100fb.c
--- ./drivers/video/au1100fb.c~au1100_c99	2005-02-21 15:21:17.447431120 -0800
+++ ./drivers/video/au1100fb.c	2005-02-21 15:40:03.901184120 -0800
@@ -111,15 +111,15 @@ static int au1100fb_ioctl(struct inode *
 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)


---


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help