Commit d44f4e34 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] more random C99 initializers

parent f212a548
...@@ -2715,10 +2715,10 @@ static struct pci_device_id id_table[] __devinitdata = { ...@@ -2715,10 +2715,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 sv_driver = { static struct pci_driver sv_driver = {
name: "sonicvibes", .name = "sonicvibes",
id_table: id_table, .id_table = id_table,
probe: sv_probe, .probe = sv_probe,
remove: sv_remove .remove = sv_remove,
}; };
static int __init init_sonicvibes(void) static int __init init_sonicvibes(void)
......
...@@ -264,16 +264,16 @@ static void timer_arm(int dev, long time) ...@@ -264,16 +264,16 @@ static void timer_arm(int dev, long time)
static struct sound_timer_operations sound_timer = static struct sound_timer_operations sound_timer =
{ {
owner: THIS_MODULE, .owner = THIS_MODULE,
info: {"Sound Timer", 0}, .info = {"Sound Timer", 0},
priority: 1, /* Priority */ .priority = 1, /* Priority */
devlink: 0, /* Local device link */ .devlink = 0, /* Local device link */
open: timer_open, .open = timer_open,
close: timer_close, .close = timer_close,
event: timer_event, .event = timer_event,
get_time: timer_get_time, .get_time = timer_get_time,
ioctl: timer_ioctl, .ioctl = timer_ioctl,
arm_timer: timer_arm .arm_timer = timer_arm
}; };
void sound_timer_interrupt(void) void sound_timer_interrupt(void)
......
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