summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <lyakh@axis700.grange>2008-12-01 13:45:24 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 12:38:23 +0100
commitd2e3dce083bc96b3bfb71603eaa1726181f7184b (patch)
tree87b0a2f8aca06b6bfcb58577113bf12ad32c0a71 /include/media
parentV4L/DVB (9788): soc-camera: simplify naming (diff)
downloadlinux-d2e3dce083bc96b3bfb71603eaa1726181f7184b.tar.xz
linux-d2e3dce083bc96b3bfb71603eaa1726181f7184b.zip
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 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;
};