From: Alan Cox Date: Thu, 17 Apr 2003 09:30:07 +0000 (-0700) Subject: [PATCH] more random C99 initializers X-Git-Tag: v2.5.68~37 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=d44f4e34054b533e7ef2a6f36c7987ee00cdc945;p=history.git [PATCH] more random C99 initializers --- diff --git a/sound/oss/sonicvibes.c b/sound/oss/sonicvibes.c index 90e18f909a45..065398b842ca 100644 --- a/sound/oss/sonicvibes.c +++ b/sound/oss/sonicvibes.c @@ -2715,10 +2715,10 @@ static struct pci_device_id id_table[] __devinitdata = { MODULE_DEVICE_TABLE(pci, id_table); static struct pci_driver sv_driver = { - name: "sonicvibes", - id_table: id_table, - probe: sv_probe, - remove: sv_remove + .name = "sonicvibes", + .id_table = id_table, + .probe = sv_probe, + .remove = sv_remove, }; static int __init init_sonicvibes(void) diff --git a/sound/oss/sound_timer.c b/sound/oss/sound_timer.c index 4ec56cb8b404..15dc6adf1c89 100644 --- a/sound/oss/sound_timer.c +++ b/sound/oss/sound_timer.c @@ -264,16 +264,16 @@ static void timer_arm(int dev, long time) static struct sound_timer_operations sound_timer = { - owner: THIS_MODULE, - info: {"Sound Timer", 0}, - priority: 1, /* Priority */ - devlink: 0, /* Local device link */ - open: timer_open, - close: timer_close, - event: timer_event, - get_time: timer_get_time, - ioctl: timer_ioctl, - arm_timer: timer_arm + .owner = THIS_MODULE, + .info = {"Sound Timer", 0}, + .priority = 1, /* Priority */ + .devlink = 0, /* Local device link */ + .open = timer_open, + .close = timer_close, + .event = timer_event, + .get_time = timer_get_time, + .ioctl = timer_ioctl, + .arm_timer = timer_arm }; void sound_timer_interrupt(void)