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