summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <lyakh@axis700.grange>2008-12-01 09:45:24 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 09:38:23 -0200
commitd2e3dce083bc96b3bfb71603eaa1726181f7184b (patch)
tree87b0a2f8aca06b6bfcb58577113bf12ad32c0a71 /include/media
parentd8fac217c58f0101a351b9c8c80f1665bd9efef9 (diff)
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 <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/soc_camera.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h
index b14f6ddc9e1..dddaf45c958 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;
};