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>
This commit is contained in:
parent
d8fac217c5
commit
d2e3dce083
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue