diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2015-03-10 18:53:05 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-03 04:54:00 +0200 |
commit | 03c278f01d70ce168a24f85a08e11636df30f580 (patch) | |
tree | dd71a41900665e205bd7e6d6aa507b689f18657d /include/media/davinci/vpfe_capture.h | |
parent | [media] cx231xx: embed video_device (diff) | |
download | linux-03c278f01d70ce168a24f85a08e11636df30f580.tar.xz linux-03c278f01d70ce168a24f85a08e11636df30f580.zip |
[media] media: davinci: vpfe_capture: 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: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media/davinci/vpfe_capture.h')
-rw-r--r-- | include/media/davinci/vpfe_capture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/davinci/vpfe_capture.h b/include/media/davinci/vpfe_capture.h index 288772e6900a..28bcd71cdd26 100644 --- a/include/media/davinci/vpfe_capture.h +++ b/include/media/davinci/vpfe_capture.h @@ -102,7 +102,7 @@ struct vpfe_config { struct vpfe_device { /* V4l2 specific parameters */ /* Identifies video device for this channel */ - struct video_device *video_dev; + struct video_device video_dev; /* sub devices */ struct v4l2_subdev **sd; /* vpfe cfg */ |