aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/m5602/m5602_mt9m111.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/m5602/m5602_mt9m111.h')
-rw-r--r--drivers/media/video/gspca/m5602/m5602_mt9m111.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_mt9m111.h b/drivers/media/video/gspca/m5602/m5602_mt9m111.h
index ff3809f28e41..cb04d8fefeda 100644
--- a/drivers/media/video/gspca/m5602/m5602_mt9m111.h
+++ b/drivers/media/video/gspca/m5602/m5602_mt9m111.h
@@ -94,47 +94,6 @@ int mt9m111_set_hflip(struct gspca_dev *gspca_dev, __s32 val);
94int mt9m111_get_gain(struct gspca_dev *gspca_dev, __s32 *val); 94int mt9m111_get_gain(struct gspca_dev *gspca_dev, __s32 *val);
95int mt9m111_set_gain(struct gspca_dev *gspca_dev, __s32 val); 95int mt9m111_set_gain(struct gspca_dev *gspca_dev, __s32 val);
96 96
97const static struct ctrl mt9m111_ctrls[] = {
98 {
99 {
100 .id = V4L2_CID_VFLIP,
101 .type = V4L2_CTRL_TYPE_BOOLEAN,
102 .name = "vertical flip",
103 .minimum = 0,
104 .maximum = 1,
105 .step = 1,
106 .default_value = 0
107 },
108 .set = mt9m111_set_vflip,
109 .get = mt9m111_get_vflip
110 }, {
111 {
112 .id = V4L2_CID_HFLIP,
113 .type = V4L2_CTRL_TYPE_BOOLEAN,
114 .name = "horizontal flip",
115 .minimum = 0,
116 .maximum = 1,
117 .step = 1,
118 .default_value = 0
119 },
120 .set = mt9m111_set_hflip,
121 .get = mt9m111_get_hflip
122 }, {
123 {
124 .id = V4L2_CID_GAIN,
125 .type = V4L2_CTRL_TYPE_INTEGER,
126 .name = "gain",
127 .minimum = 0,
128 .maximum = (INITIAL_MAX_GAIN - 1) * 2 * 2 * 2,
129 .step = 1,
130 .default_value = DEFAULT_GAIN,
131 .flags = V4L2_CTRL_FLAG_SLIDER
132 },
133 .set = mt9m111_set_gain,
134 .get = mt9m111_get_gain
135 }
136};
137
138static struct m5602_sensor mt9m111 = { 97static struct m5602_sensor mt9m111 = {
139 .name = "MT9M111", 98 .name = "MT9M111",
140 99