From: randy_dunlap Date: Sat, 25 Jun 2005 21:58:39 +0000 (-0700) Subject: [PATCH] au1100fb: convert to C99 inits. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2b1ee233f52c247d3a074ce660ece08bf097a47b;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] au1100fb: convert to C99 inits. au1100: use C99 struct init. Signed-off-by: randy_dunlap Acked-by: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/au1100fb.c b/drivers/video/au1100fb.c index cacd88cc84ab..b6fe30c3ad62 100644 --- a/drivers/video/au1100fb.c +++ b/drivers/video/au1100fb.c @@ -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)