aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2011-09-05 16:07:47 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-03 16:28:35 -0400
commitd34bfcd2a1e5f6be5ae81030b7a6193094632955 (patch)
tree755d31b387ce1e9be5aa838be7f1996a23fc19c2 /include/media
parentee02da64558f04fb30c2462fdeabdfafc87a9799 (diff)
[media] sh_mobile_ceu_camera: implement the control handler
And since this is the last and only host driver that uses controls, also remove the now obsolete control fields from soc_camera.h. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> [g.liakhovetski@gmx.de: moved code around, fixed problems] Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-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 2e15e17130da..d41b8bd74445 100644
--- a/include/media/soc_camera.h
+++ b/include/media/soc_camera.h
@@ -96,14 +96,10 @@ struct soc_camera_host_ops {
96 int (*reqbufs)(struct soc_camera_device *, struct v4l2_requestbuffers *); 96 int (*reqbufs)(struct soc_camera_device *, struct v4l2_requestbuffers *);
97 int (*querycap)(struct soc_camera_host *, struct v4l2_capability *); 97 int (*querycap)(struct soc_camera_host *, struct v4l2_capability *);
98 int (*set_bus_param)(struct soc_camera_device *, __u32); 98 int (*set_bus_param)(struct soc_camera_device *, __u32);
99 int (*get_ctrl)(struct soc_camera_device *, struct v4l2_control *);
100 int (*set_ctrl)(struct soc_camera_device *, struct v4l2_control *);
101 int (*get_parm)(struct soc_camera_device *, struct v4l2_streamparm *); 99 int (*get_parm)(struct soc_camera_device *, struct v4l2_streamparm *);
102 int (*set_parm)(struct soc_camera_device *, struct v4l2_streamparm *); 100 int (*set_parm)(struct soc_camera_device *, struct v4l2_streamparm *);
103 int (*enum_fsizes)(struct soc_camera_device *, struct v4l2_frmsizeenum *); 101 int (*enum_fsizes)(struct soc_camera_device *, struct v4l2_frmsizeenum *);
104 unsigned int (*poll)(struct file *, poll_table *); 102 unsigned int (*poll)(struct file *, poll_table *);
105 const struct v4l2_queryctrl *controls;
106 int num_controls;
107}; 103};
108 104
109#define SOCAM_SENSOR_INVERT_PCLK (1 << 0) 105#define SOCAM_SENSOR_INVERT_PCLK (1 << 0)