From: Guennadi Liakhovetski Date: Mon, 1 Dec 2008 12:45:24 +0000 (-0300) Subject: V4L/DVB (9789): soc-camera: add a per-camera device host private data pointer X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d2e3dce083bc96b3bfb71603eaa1726181f7184b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git V4L/DVB (9789): soc-camera: add a per-camera device host private data pointer This pointer will be used by pxa_camera.c to point to its pixel format data. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h index b14f6ddc9e18..dddaf45c9583 100644 --- a/include/media/soc_camera.h +++ b/include/media/soc_camera.h @@ -42,6 +42,7 @@ struct soc_camera_device { const struct soc_camera_data_format *formats; int num_formats; struct module *owner; + void *host_priv; /* per-device host private data */ /* soc_camera.c private count. Only accessed with video_lock held */ int use_count; };