Commit 356952a0 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] more random C99 initializers

parent d44f4e34
...@@ -584,9 +584,9 @@ static int aci_mixer_ioctl (int dev, unsigned int cmd, caddr_t arg) ...@@ -584,9 +584,9 @@ static int aci_mixer_ioctl (int dev, unsigned int cmd, caddr_t arg)
static struct mixer_operations aci_mixer_operations = static struct mixer_operations aci_mixer_operations =
{ {
owner: THIS_MODULE, .owner = THIS_MODULE,
id: "ACI", .id = "ACI",
ioctl: aci_mixer_ioctl .ioctl = aci_mixer_ioctl
}; };
/* /*
......
...@@ -2731,10 +2731,10 @@ static struct pci_device_id id_table[] __devinitdata = { ...@@ -2731,10 +2731,10 @@ static struct pci_device_id id_table[] __devinitdata = {
MODULE_DEVICE_TABLE(pci, id_table); MODULE_DEVICE_TABLE(pci, id_table);
static struct pci_driver es1370_driver = { static struct pci_driver es1370_driver = {
name: "es1370", .name = "es1370",
id_table: id_table, .id_table = id_table,
probe: es1370_probe, .probe = es1370_probe,
remove: es1370_remove .remove = es1370_remove,
}; };
static int __init init_es1370(void) static int __init init_es1370(void)
......
...@@ -3035,10 +3035,10 @@ static struct pci_device_id id_table[] __devinitdata = { ...@@ -3035,10 +3035,10 @@ static struct pci_device_id id_table[] __devinitdata = {
MODULE_DEVICE_TABLE(pci, id_table); MODULE_DEVICE_TABLE(pci, id_table);
static struct pci_driver es1371_driver = { static struct pci_driver es1371_driver = {
name: "es1371", .name = "es1371",
id_table: id_table, .id_table = id_table,
probe: es1371_probe, .probe = es1371_probe,
remove: es1371_remove .remove = es1371_remove,
}; };
static int __init init_es1371(void) static int __init init_es1371(void)
......
...@@ -2448,12 +2448,12 @@ static struct pci_device_id id_table[] __devinitdata = { ...@@ -2448,12 +2448,12 @@ static struct pci_device_id id_table[] __devinitdata = {
MODULE_DEVICE_TABLE(pci, id_table); MODULE_DEVICE_TABLE(pci, id_table);
static struct pci_driver solo1_driver = { static struct pci_driver solo1_driver = {
name: "ESS Solo1", .name = "ESS Solo1",
id_table: id_table, .id_table = id_table,
probe: solo1_probe, .probe = solo1_probe,
remove: solo1_remove, .remove = solo1_remove,
suspend: solo1_suspend, .suspend = solo1_suspend,
resume: solo1_resume .resume = solo1_resume,
}; };
......
...@@ -1930,10 +1930,10 @@ static struct pci_device_id id_table[] __devinitdata = { ...@@ -1930,10 +1930,10 @@ static struct pci_device_id id_table[] __devinitdata = {
MODULE_DEVICE_TABLE(pci, id_table); MODULE_DEVICE_TABLE(pci, id_table);
static struct pci_driver it8172_driver = { static struct pci_driver it8172_driver = {
name: IT8172_MODULE_NAME, .name = IT8172_MODULE_NAME,
id_table: id_table, .id_table = id_table,
probe: it8172_probe, .probe = it8172_probe,
remove: it8172_remove .remove = it8172_remove,
}; };
static int __init init_it8172(void) static int __init init_it8172(void)
......
...@@ -1994,10 +1994,10 @@ static struct pci_device_id id_table[] __devinitdata = { ...@@ -1994,10 +1994,10 @@ static struct pci_device_id id_table[] __devinitdata = {
MODULE_DEVICE_TABLE(pci, id_table); MODULE_DEVICE_TABLE(pci, id_table);
static struct pci_driver vrc5477_ac97_driver = { static struct pci_driver vrc5477_ac97_driver = {
name: VRC5477_AC97_MODULE_NAME, .name = VRC5477_AC97_MODULE_NAME,
id_table: id_table, .id_table = id_table,
probe: vrc5477_ac97_probe, .probe = vrc5477_ac97_probe,
remove: vrc5477_ac97_remove .remove = vrc5477_ac97_remove,
}; };
static int __init init_vrc5477_ac97(void) static int __init init_vrc5477_ac97(void)
......
...@@ -925,10 +925,10 @@ nm256_default_mixer_ioctl (int dev, unsigned int cmd, caddr_t arg) ...@@ -925,10 +925,10 @@ nm256_default_mixer_ioctl (int dev, unsigned int cmd, caddr_t arg)
} }
static struct mixer_operations nm256_mixer_operations = { static struct mixer_operations nm256_mixer_operations = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.id = "NeoMagic", .id = "NeoMagic",
.name = "NM256AC97Mixer", .name = "NM256AC97Mixer",
.ioctl = nm256_default_mixer_ioctl .ioctl = nm256_default_mixer_ioctl
}; };
/* /*
...@@ -1632,16 +1632,16 @@ nm256_audio_local_qlen(int dev) ...@@ -1632,16 +1632,16 @@ nm256_audio_local_qlen(int dev)
static struct audio_driver nm256_audio_driver = static struct audio_driver nm256_audio_driver =
{ {
.owner = THIS_MODULE, .owner = THIS_MODULE,
.open = nm256_audio_open, .open = nm256_audio_open,
.close = nm256_audio_close, .close = nm256_audio_close,
.output_block = nm256_audio_output_block, .output_block = nm256_audio_output_block,
.start_input = nm256_audio_start_input, .start_input = nm256_audio_start_input,
.ioctl = nm256_audio_ioctl, .ioctl = nm256_audio_ioctl,
.prepare_for_input = nm256_audio_prepare_for_input, .prepare_for_input = nm256_audio_prepare_for_input,
.prepare_for_output = nm256_audio_prepare_for_output, .prepare_for_output = nm256_audio_prepare_for_output,
.halt_io = nm256_audio_reset, .halt_io = nm256_audio_reset,
.local_qlen = nm256_audio_local_qlen, .local_qlen = nm256_audio_local_qlen,
}; };
static struct pci_device_id nm256_pci_tbl[] __devinitdata = { static struct pci_device_id nm256_pci_tbl[] __devinitdata = {
...@@ -1656,10 +1656,10 @@ MODULE_LICENSE("GPL"); ...@@ -1656,10 +1656,10 @@ MODULE_LICENSE("GPL");
struct pci_driver nm256_pci_driver = { struct pci_driver nm256_pci_driver = {
name:"nm256_audio", .name = "nm256_audio",
id_table:nm256_pci_tbl, .id_table = nm256_pci_tbl,
probe:nm256_probe, .probe = nm256_probe,
remove:nm256_remove, .remove = nm256_remove,
}; };
MODULE_PARM (usecache, "i"); MODULE_PARM (usecache, "i");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment