summaryrefslogtreecommitdiffstats
path: root/include/media/soc_camera.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2009-12-11 15:15:06 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-16 12:27:18 +0100
commit3fd7ceffddd52c2f8c004a7999ccb705d592cbfd (patch)
treeb4e3f818eac7146e0020735f81e915eef046a6f0 /include/media/soc_camera.h
parentV4L/DVB (13647): v4l: Add a 10-bit monochrome and missing 8- and 10-bit Bayer... (diff)
downloadlinux-3fd7ceffddd52c2f8c004a7999ccb705d592cbfd.tar.xz
linux-3fd7ceffddd52c2f8c004a7999ccb705d592cbfd.zip
V4L/DVB (13648): soc-camera: add a private field to struct soc_camera_link
Up to now, if a client driver needed platform data apart from those contained in struct soc_camera_link, it had to embed the struct into its own object. This makes the use of such a driver in configurations other than soc-camera Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/soc_camera.h')
-rw-r--r--include/media/soc_camera.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h
index 218639f133d3..831efffaf2ae 100644
--- a/include/media/soc_camera.h
+++ b/include/media/soc_camera.h
@@ -104,6 +104,8 @@ struct soc_camera_link {
int i2c_adapter_id;
struct i2c_board_info *board_info;
const char *module_name;
+ void *priv;
+
/*
* For non-I2C devices platform platform has to provide methods to
* add a device to the system and to remove