]> 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:15 +0000 (02:30 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 17 Apr 2003 09:30:15 +0000 (02:30 -0700)
sound/oss/aci.c
sound/oss/es1370.c
sound/oss/es1371.c
sound/oss/esssolo1.c
sound/oss/ite8172.c
sound/oss/nec_vrc5477.c
sound/oss/nm256_audio.c

index ef1c4ef86ae736b6f9d25f3953fedfabbec9f5cc..20af39fcab8b883c773b6fd8b77e2983c836dea0 100644 (file)
@@ -584,9 +584,9 @@ static int aci_mixer_ioctl (int dev, unsigned int cmd, caddr_t arg)
 
 static struct mixer_operations aci_mixer_operations =
 {
-       owner: THIS_MODULE,
-       id:    "ACI",
-       ioctl: aci_mixer_ioctl
+       .owner = THIS_MODULE,
+       .id    = "ACI",
+       .ioctl = aci_mixer_ioctl
 };
 
 /*
index bc18b964fc421f5b2677df9bf8165e4f822320a0..eaa7c9ccb31952f7aef0a78f93414d6d9af0c25d 100644 (file)
@@ -2731,10 +2731,10 @@ static struct pci_device_id id_table[] __devinitdata = {
 MODULE_DEVICE_TABLE(pci, id_table);
 
 static struct pci_driver es1370_driver = {
-       name: "es1370",
-       id_table: id_table,
-       probe: es1370_probe,
-       remove: es1370_remove
+       .name           = "es1370",
+       .id_table       = id_table,
+       .probe          = es1370_probe,
+       .remove         = es1370_remove,
 };
 
 static int __init init_es1370(void)
index b0dbba726a2e9a4867a96bb46d5b26e661148616..3d7f57ffce5e3ebcfa467399b2c2da6da5c0b620 100644 (file)
@@ -3035,10 +3035,10 @@ static struct pci_device_id id_table[] __devinitdata = {
 MODULE_DEVICE_TABLE(pci, id_table);
 
 static struct pci_driver es1371_driver = {
-       name: "es1371",
-       id_table: id_table,
-       probe: es1371_probe,
-       remove: es1371_remove
+       .name           = "es1371",
+       .id_table       = id_table,
+       .probe          = es1371_probe,
+       .remove         = es1371_remove,
 };
 
 static int __init init_es1371(void)
index cc9ce527941e028f16fe980777558403f7f13d19..3fd801a8dac5cce44d81dc298d06ed25a774b6f1 100644 (file)
@@ -2448,12 +2448,12 @@ static struct pci_device_id id_table[] __devinitdata = {
 MODULE_DEVICE_TABLE(pci, id_table);
 
 static struct pci_driver solo1_driver = {
-       name: "ESS Solo1",
-       id_table: id_table,
-       probe: solo1_probe,
-       remove: solo1_remove,
-       suspend: solo1_suspend,
-       resume: solo1_resume
+       .name           = "ESS Solo1",
+       .id_table       = id_table,
+       .probe          = solo1_probe,
+       .remove         = solo1_remove,
+       .suspend        = solo1_suspend,
+       .resume         = solo1_resume,
 };
 
 
index 1c262a3201a28dcdc95965f0983ec1c690cbde3c..8a1189ee1a0556c336a9c639b48398dd8afbbd55 100644 (file)
@@ -1930,10 +1930,10 @@ static struct pci_device_id id_table[] __devinitdata = {
 MODULE_DEVICE_TABLE(pci, id_table);
 
 static struct pci_driver it8172_driver = {
-    name: IT8172_MODULE_NAME,
-    id_table: id_table,
-    probe: it8172_probe,
-    remove: it8172_remove
+       .name           = IT8172_MODULE_NAME,
+       .id_table       = id_table,
+       .probe          = it8172_probe,
+       .remove         = it8172_remove,
 };
 
 static int __init init_it8172(void)
index e201f3d3339607eeeaa68de3ee0b43587b948c79..7ebf6781163147b2c4a6f6b317394a5e8d41e8f3 100644 (file)
@@ -1994,10 +1994,10 @@ static struct pci_device_id id_table[] __devinitdata = {
 MODULE_DEVICE_TABLE(pci, id_table);
 
 static struct pci_driver vrc5477_ac97_driver = {
-       name: VRC5477_AC97_MODULE_NAME,
-       id_table: id_table,
-       probe: vrc5477_ac97_probe,
-       remove: vrc5477_ac97_remove
+       .name           = VRC5477_AC97_MODULE_NAME,
+       .id_table       = id_table,
+       .probe          = vrc5477_ac97_probe,
+       .remove         = vrc5477_ac97_remove,
 };
 
 static int __init init_vrc5477_ac97(void)
index b4851828059a64b9cee579ea8ccceb023b4de58b..4fe4fda275fcc394fab9b5f62ab94373e92cfc0f 100644 (file)
@@ -925,10 +925,10 @@ nm256_default_mixer_ioctl (int dev, unsigned int cmd, caddr_t arg)
 }
 
 static struct mixer_operations nm256_mixer_operations = {
-    .owner     = THIS_MODULE,
-    .id                = "NeoMagic",
-    .name      = "NM256AC97Mixer",
-    .ioctl     = nm256_default_mixer_ioctl
+       .owner  = THIS_MODULE,
+       .id     = "NeoMagic",
+       .name   = "NM256AC97Mixer",
+       .ioctl  = nm256_default_mixer_ioctl
 };
 
 /*
@@ -1632,16 +1632,16 @@ nm256_audio_local_qlen(int dev)
 
 static struct audio_driver nm256_audio_driver =
 {
-    .owner             = THIS_MODULE,
-    .open              = nm256_audio_open,
-    .close             = nm256_audio_close,
-    .output_block      = nm256_audio_output_block,
-    .start_input       = nm256_audio_start_input,
-    .ioctl             = nm256_audio_ioctl,
-    .prepare_for_input = nm256_audio_prepare_for_input,
-    .prepare_for_output        = nm256_audio_prepare_for_output,
-    .halt_io           = nm256_audio_reset,
-    .local_qlen                = nm256_audio_local_qlen,
+       .owner                  = THIS_MODULE,
+       .open                   = nm256_audio_open,
+       .close                  = nm256_audio_close,
+       .output_block           = nm256_audio_output_block,
+       .start_input            = nm256_audio_start_input,
+       .ioctl                  = nm256_audio_ioctl,
+       .prepare_for_input      = nm256_audio_prepare_for_input,
+       .prepare_for_output     = nm256_audio_prepare_for_output,
+       .halt_io                = nm256_audio_reset,
+       .local_qlen             = nm256_audio_local_qlen,
 };
 
 static struct pci_device_id nm256_pci_tbl[] __devinitdata = {
@@ -1656,10 +1656,10 @@ MODULE_LICENSE("GPL");
 
 
 struct pci_driver nm256_pci_driver = {
-       name:"nm256_audio",
-       id_table:nm256_pci_tbl,
-       probe:nm256_probe,
-       remove:nm256_remove,
+       .name           = "nm256_audio",
+       .id_table       = nm256_pci_tbl,
+       .probe          = nm256_probe,
+       .remove         = nm256_remove,
 };
 
 MODULE_PARM (usecache, "i");