OpenCloudOS-Kernel/drivers/video/fbdev/matrox
Julia Lawall 1287c5bf21 video: fbdev: matrox: use c99 initializers in structures
Use c99 initializers for structures.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@decl@
identifier i1,fld;
type T;
field list[n] fs;
@@

struct i1 {
 fs
 T fld;
 ...};

@bad@
identifier decl.i1,i2;
expression e;
initializer list[decl.n] is;
@@

struct i1 i2 = { is,
+ .fld = e
- e
 ,...};
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2014-08-26 15:52:38 +03:00
..
Makefile
g450_pll.c
g450_pll.h
i2c-matroxfb.c
matroxfb_DAC1064.c
matroxfb_DAC1064.h
matroxfb_Ti3026.c
matroxfb_Ti3026.h
matroxfb_accel.c
matroxfb_accel.h
matroxfb_base.c video: fbdev: matrox: use c99 initializers in structures 2014-08-26 15:52:38 +03:00
matroxfb_base.h
matroxfb_crtc2.c
matroxfb_crtc2.h
matroxfb_g450.c
matroxfb_g450.h
matroxfb_maven.c video: fbdev: matrox: use c99 initializers in structures 2014-08-26 15:52:38 +03:00
matroxfb_maven.h
matroxfb_misc.c
matroxfb_misc.h