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)
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
};
/*
......
......@@ -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)
......
......@@ -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)
......
......@@ -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,
};
......
......@@ -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)
......
......@@ -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)
......
......@@ -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");
......
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