V4L/DVB (9789): soc-camera: add a per-camera device host private data pointer
authorGuennadi Liakhovetski <lyakh@axis700.grange>
Mon, 1 Dec 2008 12:45:24 +0000 (09:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:38:23 +0000 (09:38 -0200)
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>
include/media/soc_camera.h

index b14f6ddc9e187363eff51c9d8243d3af621eec8c..dddaf45c9583507531276a53ed4e0b00a9e195c9 100644 (file)
@@ -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;
 };