diff options
author | randy_dunlap <rdunlap@xenotime.net> | 2005-06-25 17:58:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 19:24:57 -0400 |
commit | 2b1ee233f52c247d3a074ce660ece08bf097a47b (patch) | |
tree | 3645fdb5f2058196c764ed481817f42c7118c4d2 /drivers/video | |
parent | 09dbb4768c962ac00f9ff416328a7e6bfbd92b21 (diff) |
[PATCH] au1100fb: convert to C99 inits.
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/au1100fb.c | 18 |
1 files changed, 9 insertions, 9 deletions
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, | |||
111 | void au1100_nocursor(struct display *p, int mode, int xx, int yy){}; | 111 | void au1100_nocursor(struct display *p, int mode, int xx, int yy){}; |
112 | 112 | ||
113 | static struct fb_ops au1100fb_ops = { | 113 | static struct fb_ops au1100fb_ops = { |
114 | owner: THIS_MODULE, | 114 | .owner = THIS_MODULE, |
115 | fb_get_fix: fbgen_get_fix, | 115 | .fb_get_fix = fbgen_get_fix, |
116 | fb_get_var: fbgen_get_var, | 116 | .fb_get_var = fbgen_get_var, |
117 | fb_set_var: fbgen_set_var, | 117 | .fb_set_var = fbgen_set_var, |
118 | fb_get_cmap: fbgen_get_cmap, | 118 | .fb_get_cmap = fbgen_get_cmap, |
119 | fb_set_cmap: fbgen_set_cmap, | 119 | .fb_set_cmap = fbgen_set_cmap, |
120 | fb_pan_display: fbgen_pan_display, | 120 | .fb_pan_display = fbgen_pan_display, |
121 | fb_ioctl: au1100fb_ioctl, | 121 | .fb_ioctl = au1100fb_ioctl, |
122 | fb_mmap: au1100fb_mmap, | 122 | .fb_mmap = au1100fb_mmap, |
123 | }; | 123 | }; |
124 | 124 | ||
125 | static void au1100_detect(void) | 125 | static void au1100_detect(void) |