aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/exynos-gsc/gsc-core.h
diff options
context:
space:
mode:
authorArun Kumar K <arun.kk@samsung.com>2013-07-26 07:28:01 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-09-03 09:24:21 -0300
commitd0b1c31349969973204fad21a076aecf131cc5e4 (patch)
tree4ba0266d423fefbd8b6e938ed2df15919ce03454 /drivers/media/platform/exynos-gsc/gsc-core.h
parent[media] exynos4-is: Fix fimc-lite bayer formats (diff)
downloadlinux-dev-d0b1c31349969973204fad21a076aecf131cc5e4.tar.xz
linux-dev-d0b1c31349969973204fad21a076aecf131cc5e4.zip
[media] exynos-gsc: Register v4l2 device
Gscaler video device registration was happening without reference to a parent v4l2_dev causing probe to fail. The patch creates a parent v4l2 device and uses it for the gsc m2m video device registration. This fixes regression introduced with comit commit 1c1d86a1ea07506 [media] v4l2: always require v4l2_dev, rename parent to dev_parent Signed-off-by: Arun Kumar K <arun.kk@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/media/platform/exynos-gsc/gsc-core.h')
-rw-r--r--drivers/media/platform/exynos-gsc/gsc-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/exynos-gsc/gsc-core.h b/drivers/media/platform/exynos-gsc/gsc-core.h
index cc19bba09bd1..76435d3bf62d 100644
--- a/drivers/media/platform/exynos-gsc/gsc-core.h
+++ b/drivers/media/platform/exynos-gsc/gsc-core.h
@@ -343,6 +343,7 @@ struct gsc_dev {
unsigned long state;
struct vb2_alloc_ctx *alloc_ctx;
struct video_device vdev;
+ struct v4l2_device v4l2_dev;
};
/**