Commit 6d9463ed authored by Dave Jones's avatar Dave Jones

[PATCH] zoran named initialisers

parent 39c8b995
...@@ -4396,22 +4396,18 @@ static int zoran_init_done(struct video_device *dev) ...@@ -4396,22 +4396,18 @@ static int zoran_init_done(struct video_device *dev)
} }
static struct video_device zoran_template = { static struct video_device zoran_template = {
THIS_MODULE, owner: THIS_MODULE,
ZORAN_NAME, name: ZORAN_NAME,
VID_TYPE_CAPTURE | VID_TYPE_OVERLAY | VID_TYPE_CLIPPING | type: VID_TYPE_CAPTURE | VID_TYPE_OVERLAY | VID_TYPE_CLIPPING |
VID_TYPE_FRAMERAM | VID_TYPE_SCALES | VID_TYPE_SUBCAPTURE, VID_TYPE_FRAMERAM | VID_TYPE_SCALES | VID_TYPE_SUBCAPTURE,
ZORAN_HARDWARE, hardware: ZORAN_HARDWARE,
zoran_open, open: zoran_open,
zoran_close, close: zoran_close,
zoran_read, read: zoran_read,
zoran_write, write: zoran_write,
NULL, ioctl: zoran_ioctl,
zoran_ioctl, mmap: zoran_mmap,
zoran_mmap, initialize: zoran_init_done,
zoran_init_done,
NULL,
0,
0
}; };
/* /*
......
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