summaryrefslogtreecommitdiff
path: root/drivers/media/pci/meye/meye.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-03-09 13:34:01 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-02 23:35:01 -0300
commite239129ca7c5aa1791fa66528bfdd43854cf0d48 (patch)
tree5590665ec6568fc6654c0da5829ec6e219a6ab94 /drivers/media/pci/meye/meye.h
parentf91fccde35cd41b085756b134d94b6f87ed1c94e (diff)
[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.h2
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;