summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2015-03-10 14:53:05 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-02 23:54:00 -0300
commit03c278f01d70ce168a24f85a08e11636df30f580 (patch)
treedd71a41900665e205bd7e6d6aa507b689f18657d /include/media
parent60acf187681aa61f339030540aef74e4d0db875e (diff)
downloadop-kernel-dev-03c278f01d70ce168a24f85a08e11636df30f580.zip
op-kernel-dev-03c278f01d70ce168a24f85a08e11636df30f580.tar.gz
[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')
-rw-r--r--include/media/davinci/vpfe_capture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/davinci/vpfe_capture.h b/include/media/davinci/vpfe_capture.h
index 288772e..28bcd71 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 */
OpenPOWER on IntegriCloud