C99 initializers for drivers/media/video
PATCH 1/1 C99 initializers for drivers/media/video
Hi.
Here are three trivial patches converting the files to use C99 initializers. The patches are against the current BK.
Art Haas
===== drivers/media/video/bttv-cards.c 1.16 vs edited =====
drivers/media/video/bttv-cards.c +3 -3
@@ -1173,7 +1173,7 @@ .tuner_type = -1, .pll = PLL_28, .muxsel = { 2 }, - gpiomask: 0 + .gpiomask =0 },{/* Tomasz Pyra <[email protected]> */ .name = "Prolink Pixelview PV-BT878P+ (Rev.4C,8E)",
@@ -1260,7 +1260,7 @@ },{ .name = "Powercolor MTV878/ MTV878R/ MTV878F", .video_inputs = 3, - audio_inputs: 2, + .audio_inputs = 2, .tuner = 0, .svhs = 2, .gpiomask = 0x1C800F, // Bit0-2: Audio select, 8-12:remote control 14:remote valid 15:remote reset
@@ -1300,7 +1300,7 @@ },{ .name = "Jetway TV/Capture JW-TV878-FBK, Kworld KW-TV878RF", .video_inputs = 4, - audio_inputs: 3, + .audio_inputs = 3, .tuner = 0, .svhs = 2, .gpiomask = 7,
===== drivers/media/video/bttv-driver.c 1.27 vs edited =====
drivers/media/video/bttv-driver.c +2 -2
@@ -2786,8 +2786,8 @@static struct video_device bttv_video_template = { .name ="UNSET" , - type:VID_TYPE_CAPTURE |VID_TYPE_TUNER |VID_TYPE_OVERLAY | -VID_TYPE_CLIPPING |VID_TYPE_SCALES , + .type =VID_TYPE_CAPTURE |VID_TYPE_TUNER |VID_TYPE_OVERLAY | +VID_TYPE_CLIPPING |VID_TYPE_SCALES , .hardware =VID_HARDWARE_BT848 , .fops = &bttv_fops, .minor =-1 ,
===== drivers/media/video/tvaudio.c 1.16 vs edited =====
drivers/media/video/tvaudio.c +1 -1
@@ -1319,7 +1319,7 @@ PIC16C54_MISC_SND_NOTMUTE}, .inputmute =PIC16C54_MISC_SND_MUTE , }, - { name: NULL } /* EOF */ + { .name = NULL } /* EOF */ };
Signature · 4 lines
To announce that there must be no criticism of the President, or that we are to stand by the President, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public. -- Theodore Roosevelt, Kansas City Star, 1918