]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] more random C99 initializers
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Thu, 17 Apr 2003 09:30:07 +0000 (02:30 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 17 Apr 2003 09:30:07 +0000 (02:30 -0700)
sound/oss/sonicvibes.c
sound/oss/sound_timer.c

index 90e18f909a459b20e658b01e54d47b083f58a4bd..065398b842ca6499ca33390f6c875e766b600cb6 100644 (file)
@@ -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)
index 4ec56cb8b40476eeb8fe26d1f44b903cea41e1e8..15dc6adf1c891d83b993cafcbd1c360f1b36516f 100644 (file)
@@ -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)