diff options
author | Erik Andr?n <erik.andren@gmail.com> | 2009-01-06 09:59:42 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 17:20:24 -0400 |
commit | 09a7480ec127d26cade353b49f912c3348f6532e (patch) | |
tree | 5f1a7c248eb711d6134c3bd8e7cb919188613d57 /drivers/media/video/gspca/m5602/m5602_ov9650.h | |
parent | a594fb4866ddebcb413577974654be8cffc37a1b (diff) |
V4L/DVB (11454): gspca - m5602-mt9m111: Remove the unused power_down struct member
The power_down sensor struct member is almost has no purpose in the current driver abstraction. Remove it.
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/m5602/m5602_ov9650.h')
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_ov9650.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_ov9650.h b/drivers/media/video/gspca/m5602/m5602_ov9650.h index fcc54e4c0f4..b81f26505e2 100644 --- a/drivers/media/video/gspca/m5602/m5602_ov9650.h +++ b/drivers/media/video/gspca/m5602/m5602_ov9650.h | |||
@@ -137,7 +137,6 @@ int ov9650_probe(struct sd *sd); | |||
137 | int ov9650_init(struct sd *sd); | 137 | int ov9650_init(struct sd *sd); |
138 | int ov9650_start(struct sd *sd); | 138 | int ov9650_start(struct sd *sd); |
139 | int ov9650_stop(struct sd *sd); | 139 | int ov9650_stop(struct sd *sd); |
140 | int ov9650_power_down(struct sd *sd); | ||
141 | void ov9650_disconnect(struct sd *sd); | 140 | void ov9650_disconnect(struct sd *sd); |
142 | 141 | ||
143 | int ov9650_set_exposure(struct gspca_dev *gspca_dev, __s32 val); | 142 | int ov9650_set_exposure(struct gspca_dev *gspca_dev, __s32 val); |
@@ -167,7 +166,6 @@ const static struct m5602_sensor ov9650 = { | |||
167 | .init = ov9650_init, | 166 | .init = ov9650_init, |
168 | .start = ov9650_start, | 167 | .start = ov9650_start, |
169 | .stop = ov9650_stop, | 168 | .stop = ov9650_stop, |
170 | .power_down = ov9650_power_down, | ||
171 | .disconnect = ov9650_disconnect, | 169 | .disconnect = ov9650_disconnect, |
172 | }; | 170 | }; |
173 | 171 | ||
@@ -312,26 +310,6 @@ static const unsigned char init_ov9650[][3] = | |||
312 | {SENSOR, OV9650_COM2, OV9650_SOFT_SLEEP | OV9650_OUTPUT_DRIVE_2X}, | 310 | {SENSOR, OV9650_COM2, OV9650_SOFT_SLEEP | OV9650_OUTPUT_DRIVE_2X}, |
313 | }; | 311 | }; |
314 | 312 | ||
315 | static const unsigned char power_down_ov9650[][3] = | ||
316 | { | ||
317 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x04}, | ||
318 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, | ||
319 | {SENSOR, OV9650_COM7, 0x80}, | ||
320 | {SENSOR, OV9650_OFON, 0xf4}, | ||
321 | {SENSOR, OV9650_MVFP, 0x80}, | ||
322 | {SENSOR, OV9650_DBLV, 0x3f}, | ||
323 | {SENSOR, OV9650_RSVD36, 0x49}, | ||
324 | {SENSOR, OV9650_COM7, 0x05}, | ||
325 | |||
326 | {BRIDGE, M5602_XB_GPIO_DIR, 0x05}, | ||
327 | {BRIDGE, M5602_XB_GPIO_DAT, 0x04}, | ||
328 | {BRIDGE, M5602_XB_GPIO_EN_H, 0x06}, | ||
329 | {BRIDGE, M5602_XB_GPIO_EN_L, 0x06}, | ||
330 | {BRIDGE, M5602_XB_GPIO_DAT_H, 0x02}, | ||
331 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x04}, | ||
332 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, | ||
333 | }; | ||
334 | |||
335 | static const unsigned char res_init_ov9650[][3] = | 313 | static const unsigned char res_init_ov9650[][3] = |
336 | { | 314 | { |
337 | {SENSOR, OV9650_COM2, OV9650_OUTPUT_DRIVE_2X}, | 315 | {SENSOR, OV9650_COM2, OV9650_OUTPUT_DRIVE_2X}, |