aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/omap24xxcam.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-06-12 06:03:27 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-21 11:05:16 -0300
commit7a86969bd65eb7f19ea1c281c686a75429be950a (patch)
tree052e0c6cf096a2633d9f39934f1ad7c2bccf112f /drivers/media/platform/omap24xxcam.h
parent[media] f_uvc: add v4l2_device and replace parent with v4l2_dev (diff)
downloadlinux-dev-7a86969bd65eb7f19ea1c281c686a75429be950a.tar.xz
linux-dev-7a86969bd65eb7f19ea1c281c686a75429be950a.zip
[media] omap24xxcam: add v4l2_device and replace parent with v4l2_dev
This driver did not yet support struct v4l2_device, so add it. This make it possible to replace the deprecated parent field with the v4l2_dev field, allowing the eventual removal of the parent field. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/omap24xxcam.h')
-rw-r--r--drivers/media/platform/omap24xxcam.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/platform/omap24xxcam.h b/drivers/media/platform/omap24xxcam.h
index c4395956a493..7f6f79155537 100644
--- a/drivers/media/platform/omap24xxcam.h
+++ b/drivers/media/platform/omap24xxcam.h
@@ -29,6 +29,7 @@
#include <media/videobuf-dma-sg.h>
#include <media/v4l2-int-device.h>
+#include <media/v4l2-device.h>
/*
*
@@ -462,6 +463,8 @@ struct omap24xxcam_device {
*/
struct mutex mutex;
+ struct v4l2_device v4l2_dev;
+
/*** general driver state information ***/
atomic_t users;
/*