aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/soc_camera.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2009-12-11 09:15:06 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-16 06:27:18 -0500
commit3fd7ceffddd52c2f8c004a7999ccb705d592cbfd (patch)
treeb4e3f818eac7146e0020735f81e915eef046a6f0 /include/media/soc_camera.h
parentee81152ff007a94f90327809566a4b7ff771ffd3 (diff)
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 {
104 int i2c_adapter_id; 104 int i2c_adapter_id;
105 struct i2c_board_info *board_info; 105 struct i2c_board_info *board_info;
106 const char *module_name; 106 const char *module_name;
107 void *priv;
108
107 /* 109 /*
108 * For non-I2C devices platform platform has to provide methods to 110 * For non-I2C devices platform platform has to provide methods to
109 * add a device to the system and to remove 111 * add a device to the system and to remove