diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2015-03-09 19:34:01 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-03 05:35:01 +0300 |
commit | e239129ca7c5aa1791fa66528bfdd43854cf0d48 (patch) | |
tree | 5590665ec6568fc6654c0da5829ec6e219a6ab94 /drivers/media/pci/meye/meye.h | |
parent | f91fccde35cd41b085756b134d94b6f87ed1c94e (diff) | |
download | linux-e239129ca7c5aa1791fa66528bfdd43854cf0d48.tar.xz |
[media] meye: embed video_device
Embed the video_device struct to simplify the error handling and in
order to (eventually) get rid of video_device_alloc/release.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/meye/meye.h')
-rw-r--r-- | drivers/media/pci/meye/meye.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/meye/meye.h b/drivers/media/pci/meye/meye.h index 6fed9274cfa5..751be5e533c7 100644 --- a/drivers/media/pci/meye/meye.h +++ b/drivers/media/pci/meye/meye.h @@ -311,7 +311,7 @@ struct meye { struct kfifo doneq; /* queue for grabbed buffers */ spinlock_t doneq_lock; /* lock protecting the queue */ wait_queue_head_t proc_list; /* wait queue */ - struct video_device *vdev; /* video device parameters */ + struct video_device vdev; /* video device parameters */ u16 brightness; u16 hue; u16 contrast; |