Commit dc223510 authored by Art Haas's avatar Art Haas Committed by Andy Grover

[PATCH] C99 designated initializer for drivers/usb/media/vicam.c

parent baf8febe
......@@ -1201,7 +1201,7 @@ vicam_video_init(struct video_device *vdev)
static struct file_operations vicam_fops = {
.owner = THIS_MODULE,
.open = vicam_open,
.release =vicam_close,
.release = vicam_close,
.read = vicam_read,
.mmap = vicam_mmap,
.ioctl = vicam_ioctl,
......@@ -1227,10 +1227,10 @@ static struct usb_device_id vicam_table[] = {
MODULE_DEVICE_TABLE(usb, vicam_table);
static struct usb_driver vicam_driver = {
name:"vicam",
probe:vicam_probe,
disconnect:vicam_disconnect,
id_table:vicam_table
.name = "vicam",
.probe = vicam_probe,
.disconnect = vicam_disconnect,
.id_table = vicam_table
};
/**
......
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