Commit 2b1ee233 authored by randy_dunlap's avatar randy_dunlap Committed by Linus Torvalds

[PATCH] au1100fb: convert to C99 inits.

au1100: use C99 struct init.
Signed-off-by: default avatarrandy_dunlap <rdunlap@xenotime.net>
Acked-by: default avatarRussell King <rmk@arm.linux.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 09dbb476
...@@ -111,15 +111,15 @@ static int au1100fb_ioctl(struct inode *inode, struct file *file, u_int cmd, ...@@ -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){}; void au1100_nocursor(struct display *p, int mode, int xx, int yy){};
static struct fb_ops au1100fb_ops = { static struct fb_ops au1100fb_ops = {
owner: THIS_MODULE, .owner = THIS_MODULE,
fb_get_fix: fbgen_get_fix, .fb_get_fix = fbgen_get_fix,
fb_get_var: fbgen_get_var, .fb_get_var = fbgen_get_var,
fb_set_var: fbgen_set_var, .fb_set_var = fbgen_set_var,
fb_get_cmap: fbgen_get_cmap, .fb_get_cmap = fbgen_get_cmap,
fb_set_cmap: fbgen_set_cmap, .fb_set_cmap = fbgen_set_cmap,
fb_pan_display: fbgen_pan_display, .fb_pan_display = fbgen_pan_display,
fb_ioctl: au1100fb_ioctl, .fb_ioctl = au1100fb_ioctl,
fb_mmap: au1100fb_mmap, .fb_mmap = au1100fb_mmap,
}; };
static void au1100_detect(void) static void au1100_detect(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment