From 356952a080fdf17ccfb0607a36c96e9586583bff Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 17 Apr 2003 02:30:15 -0700 Subject: [PATCH] [PATCH] more random C99 initializers --- sound/oss/aci.c | 6 +++--- sound/oss/es1370.c | 8 ++++---- sound/oss/es1371.c | 8 ++++---- sound/oss/esssolo1.c | 12 ++++++------ sound/oss/ite8172.c | 8 ++++---- sound/oss/nec_vrc5477.c | 8 ++++---- sound/oss/nm256_audio.c | 36 ++++++++++++++++++------------------ 7 files changed, 43 insertions(+), 43 deletions(-) diff --git a/sound/oss/aci.c b/sound/oss/aci.c index ef1c4ef86ae7..20af39fcab8b 100644 --- a/sound/oss/aci.c +++ b/sound/oss/aci.c @@ -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 }; /* diff --git a/sound/oss/es1370.c b/sound/oss/es1370.c index bc18b964fc42..eaa7c9ccb319 100644 --- a/sound/oss/es1370.c +++ b/sound/oss/es1370.c @@ -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) diff --git a/sound/oss/es1371.c b/sound/oss/es1371.c index b0dbba726a2e..3d7f57ffce5e 100644 --- a/sound/oss/es1371.c +++ b/sound/oss/es1371.c @@ -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) diff --git a/sound/oss/esssolo1.c b/sound/oss/esssolo1.c index cc9ce527941e..3fd801a8dac5 100644 --- a/sound/oss/esssolo1.c +++ b/sound/oss/esssolo1.c @@ -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, }; diff --git a/sound/oss/ite8172.c b/sound/oss/ite8172.c index 1c262a3201a2..8a1189ee1a05 100644 --- a/sound/oss/ite8172.c +++ b/sound/oss/ite8172.c @@ -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) diff --git a/sound/oss/nec_vrc5477.c b/sound/oss/nec_vrc5477.c index e201f3d33396..7ebf67811631 100644 --- a/sound/oss/nec_vrc5477.c +++ b/sound/oss/nec_vrc5477.c @@ -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) diff --git a/sound/oss/nm256_audio.c b/sound/oss/nm256_audio.c index b4851828059a..4fe4fda275fc 100644 --- a/sound/oss/nm256_audio.c +++ b/sound/oss/nm256_audio.c @@ -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"); -- 2.39.5