Skip to content

Commit

Permalink
V4L/DVB (9789): soc-camera: add a per-camera device host private data…
Browse files Browse the repository at this point in the history
… 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>
  • Loading branch information
Guennadi Liakhovetski authored and Mauro Carvalho Chehab committed Dec 30, 2008
1 parent d8fac21 commit d2e3dce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/media/soc_camera.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit d2e3dce

Please sign in to comment.