aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2009-08-25 10:46:17 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-18 23:18:43 -0400
commita0705b07f1816ae2b85388fcda71de69c221b4b8 (patch)
tree7406da18408564e38645eeaa22ea49324fd1ca6a /include
parent4a6110bc50da9a1883bf45614ac1d591253f0457 (diff)
V4L/DVB (12515): soc-camera: use struct v4l2_rect in struct soc_camera_device
Switch to using struct v4l2_rect in struct soc_camera_device for uniformity and simplicity. 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.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/media/soc_camera.h b/include/media/soc_camera.h
index 2d116bbbcce1..f623c010a539 100644
--- a/include/media/soc_camera.h
+++ b/include/media/soc_camera.h
@@ -22,16 +22,10 @@ struct soc_camera_device {
22 struct list_head list; 22 struct list_head list;
23 struct device dev; 23 struct device dev;
24 struct device *pdev; /* Platform device */ 24 struct device *pdev; /* Platform device */
25 unsigned short width; /* Current window */ 25 struct v4l2_rect rect_current; /* Current window */
26 unsigned short height; /* sizes */ 26 struct v4l2_rect rect_max; /* Maximum window */
27 unsigned short x_min; /* Camera capabilities */
28 unsigned short y_min;
29 unsigned short x_current; /* Current window location */
30 unsigned short y_current;
31 unsigned short width_min; 27 unsigned short width_min;
32 unsigned short width_max;
33 unsigned short height_min; 28 unsigned short height_min;
34 unsigned short height_max;
35 unsigned short y_skip_top; /* Lines to skip at the top */ 29 unsigned short y_skip_top; /* Lines to skip at the top */
36 unsigned short gain; 30 unsigned short gain;
37 unsigned short exposure; 31 unsigned short exposure;