diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-03-11 09:34:22 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-24 15:51:35 (GMT) |
commit | 6bb0e65d6761b115e4169a5499fccc76ea90dd99 (patch) | |
tree | 81c6c409c98b3f514697d7c6f4d7abc65706b230 /drivers/staging/media/go7007/go7007-driver.c | |
parent | ffcc1c082fdd8e3013f25f670d1fe66f86e04138 (diff) | |
download | linux-fsl-qoriq-6bb0e65d6761b115e4169a5499fccc76ea90dd99.tar.xz |
[media] go7007: embed struct video_device
Do not allocate it, but just embed in the go7007 struct.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/media/go7007/go7007-driver.c')
-rw-r--r-- | drivers/staging/media/go7007/go7007-driver.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/media/go7007/go7007-driver.c b/drivers/staging/media/go7007/go7007-driver.c index 075de4d..0fd3f10 100644 --- a/drivers/staging/media/go7007/go7007-driver.c +++ b/drivers/staging/media/go7007/go7007-driver.c @@ -639,7 +639,6 @@ struct go7007 *go7007_alloc(struct go7007_board_info *board, struct device *dev) mutex_init(&go->hw_lock); init_waitqueue_head(&go->frame_waitq); spin_lock_init(&go->spinlock); - go->video_dev = NULL; go->status = STATUS_INIT; memset(&go->i2c_adapter, 0, sizeof(go->i2c_adapter)); go->i2c_adapter_online = 0; |