From: "Randy.Dunlap" Subject: [PATCH] au1100fb: use C99 struct init. Date: Mon, 21 Feb 2005 16:09:32 -0800 Message-ID: <20050221160932.2a816aea.rddunlap@osdl.org> Reply-To: linux-fbdev-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1D3NcF-0004Se-8d for linux-fbdev-devel@lists.sourceforge.net; Mon, 21 Feb 2005 16:09:27 -0800 Received: from fire.osdl.org ([65.172.181.4] helo=smtp.osdl.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1D3NcC-0007cY-5A for linux-fbdev-devel@lists.sourceforge.net; Mon, 21 Feb 2005 16:09:27 -0800 Sender: linux-fbdev-devel-admin@lists.sourceforge.net Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: ralf@linux-mips.org, akpm Cc: adaplas@pol.net, linux-fbdev-devel@lists.sourceforge.net au1100: use C99 struct init. Signed-off-by: Randy Dunlap 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