aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2009-08-25 10:53:23 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-18 23:19:18 -0400
commita4c56fd8892e51d675f7665ddee4fd9d7e5c2cc3 (patch)
treebf19f94a6bf467e2a366a9de9a229ff1149baf76 /include
parent6a6c8786725c0b3d143674effa8b772f47b1c189 (diff)
V4L/DVB (12535): soc-camera: remove .init() and .release() methods from struct soc_camera_ops
Remove unneeded soc-camera operations, this also makes the soc-camera API to v4l2 subdevices thinner. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/media/soc_camera.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h
index 3185e8daaa0a..f95cc4a2d9af 100644
--- a/include/media/soc_camera.h
+++ b/include/media/soc_camera.h
@@ -191,12 +191,8 @@ struct soc_camera_format_xlate {
191struct soc_camera_ops { 191struct soc_camera_ops {
192 int (*suspend)(struct soc_camera_device *, pm_message_t state); 192 int (*suspend)(struct soc_camera_device *, pm_message_t state);
193 int (*resume)(struct soc_camera_device *); 193 int (*resume)(struct soc_camera_device *);
194 int (*init)(struct soc_camera_device *);
195 int (*release)(struct soc_camera_device *);
196 unsigned long (*query_bus_param)(struct soc_camera_device *); 194 unsigned long (*query_bus_param)(struct soc_camera_device *);
197 int (*set_bus_param)(struct soc_camera_device *, unsigned long); 195 int (*set_bus_param)(struct soc_camera_device *, unsigned long);
198 int (*get_chip_id)(struct soc_camera_device *,
199 struct v4l2_dbg_chip_ident *);
200 int (*enum_input)(struct soc_camera_device *, struct v4l2_input *); 196 int (*enum_input)(struct soc_camera_device *, struct v4l2_input *);
201 const struct v4l2_queryctrl *controls; 197 const struct v4l2_queryctrl *controls;
202 int num_controls; 198 int num_controls;