diff options
author | Guennadi Liakhovetski <lyakh@axis700.grange> | 2008-12-01 07:45:24 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:38:23 -0500 |
commit | d2e3dce083bc96b3bfb71603eaa1726181f7184b (patch) | |
tree | 87b0a2f8aca06b6bfcb58577113bf12ad32c0a71 /include/media | |
parent | d8fac217c58f0101a351b9c8c80f1665bd9efef9 (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.h | 1 |
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 { | |||
42 | const struct soc_camera_data_format *formats; | 42 | const struct soc_camera_data_format *formats; |
43 | int num_formats; | 43 | int num_formats; |
44 | struct module *owner; | 44 | struct module *owner; |
45 | void *host_priv; /* per-device host private data */ | ||
45 | /* soc_camera.c private count. Only accessed with video_lock held */ | 46 | /* soc_camera.c private count. Only accessed with video_lock held */ |
46 | int use_count; | 47 | int use_count; |
47 | }; | 48 | }; |