Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124487
b: refs/heads/master
c: 658efb6
h: refs/heads/master
i:
  124485: 8b56c58
  124483: 9794efa
  124479: 2d3701b
v: v3
  • Loading branch information
Erik Andrén authored and Mauro Carvalho Chehab committed Dec 30, 2008
1 parent 1346cc8 commit 8ee0c95
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 082ec3b865f42f722ea304f0d9f05f3124c37388
refs/heads/master: 658efb63e4d0620369c301d9401acde10499def2
4 changes: 3 additions & 1 deletion trunk/drivers/media/video/gspca/m5602/m5602_mt9m111.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

#include "m5602_mt9m111.h"

static void mt9m111_dump_registers(struct sd *sd);

int mt9m111_probe(struct sd *sd)
{
u8 data[2] = {0x00, 0x00};
Expand Down Expand Up @@ -308,7 +310,7 @@ int mt9m111_write_sensor(struct sd *sd, const u8 address,
return (err < 0) ? err : 0;
}

void mt9m111_dump_registers(struct sd *sd)
static void mt9m111_dump_registers(struct sd *sd)
{
u8 address, value[2] = {0x00, 0x00};

Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/media/video/gspca/m5602/m5602_mt9m111.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ int mt9m111_read_sensor(struct sd *sd, const u8 address,
int mt9m111_write_sensor(struct sd *sd, const u8 address,
u8 *i2c_data, const u8 len);

void mt9m111_dump_registers(struct sd *sd);

int mt9m111_set_vflip(struct gspca_dev *gspca_dev, __s32 val);
int mt9m111_get_vflip(struct gspca_dev *gspca_dev, __s32 *val);
int mt9m111_get_hflip(struct gspca_dev *gspca_dev, __s32 *val);
Expand Down
4 changes: 3 additions & 1 deletion trunk/drivers/media/video/gspca/m5602/m5602_ov9650.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ static
{ }
};

static void ov9650_dump_registers(struct sd *sd);

int ov9650_read_sensor(struct sd *sd, const u8 address,
u8 *i2c_data, const u8 len)
{
Expand Down Expand Up @@ -561,7 +563,7 @@ int ov9650_set_auto_gain(struct gspca_dev *gspca_dev, __s32 val)
return err;
}

void ov9650_dump_registers(struct sd *sd)
static void ov9650_dump_registers(struct sd *sd)
{
int address;
info("Dumping the ov9650 register state");
Expand Down
4 changes: 1 addition & 3 deletions trunk/drivers/media/video/gspca/m5602/m5602_ov9650.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,7 @@ int ov9650_power_down(struct sd *sd);
int ov9650_read_sensor(struct sd *sd, const u8 address,
u8 *i2c_data, const u8 len);
int ov9650_write_sensor(struct sd *sd, const u8 address,
u8 *i2c_data, const u8 len);

void ov9650_dump_registers(struct sd *sd);
u8 *i2c_data, const u8 len);

int ov9650_set_exposure(struct gspca_dev *gspca_dev, __s32 val);
int ov9650_get_exposure(struct gspca_dev *gspca_dev, __s32 *val);
Expand Down
4 changes: 3 additions & 1 deletion trunk/drivers/media/video/gspca/m5602/m5602_po1030.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

#include "m5602_po1030.h"

static void po1030_dump_registers(struct sd *sd);

int po1030_probe(struct sd *sd)
{
u8 prod_id = 0, ver_id = 0, i;
Expand Down Expand Up @@ -375,7 +377,7 @@ int po1030_power_down(struct sd *sd)
return 0;
}

void po1030_dump_registers(struct sd *sd)
static void po1030_dump_registers(struct sd *sd)
{
int address;
u8 value = 0;
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/media/video/gspca/m5602/m5602_po1030.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ int po1030_probe(struct sd *sd);
int po1030_init(struct sd *sd);
int po1030_power_down(struct sd *sd);

void po1030_dump_registers(struct sd *sd);

int po1030_read_sensor(struct sd *sd, const u8 address,
u8 *i2c_data, const u8 len);
int po1030_write_sensor(struct sd *sd, const u8 address,
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/media/video/gspca/m5602/m5602_s5k4aa.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ static
{ }
};

static void s5k4aa_dump_registers(struct sd *sd);

int s5k4aa_probe(struct sd *sd)
{
Expand Down Expand Up @@ -455,7 +456,7 @@ int s5k4aa_set_gain(struct gspca_dev *gspca_dev, __s32 val)
return err;
}

void s5k4aa_dump_registers(struct sd *sd)
static void s5k4aa_dump_registers(struct sd *sd)
{
int address;
u8 page, old_page;
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/media/video/gspca/m5602/m5602_s5k4aa.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ int s5k4aa_probe(struct sd *sd);
int s5k4aa_init(struct sd *sd);
int s5k4aa_power_down(struct sd *sd);

void s5k4aa_dump_registers(struct sd *sd);

int s5k4aa_read_sensor(struct sd *sd, const u8 address,
u8 *i2c_data, const u8 len);
int s5k4aa_write_sensor(struct sd *sd, const u8 address,
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/media/video/gspca/m5602/m5602_s5k83a.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

#include "m5602_s5k83a.h"

static void s5k83a_dump_registers(struct sd *sd);

int s5k83a_probe(struct sd *sd)
{
u8 prod_id = 0, ver_id = 0;
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/media/video/gspca/m5602/m5602_s5k83a.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ int s5k83a_probe(struct sd *sd);
int s5k83a_init(struct sd *sd);
int s5k83a_power_down(struct sd *sd);

void s5k83a_dump_registers(struct sd *sd);

int s5k83a_read_sensor(struct sd *sd, const u8 address,
u8 *i2c_data, const u8 len);
int s5k83a_write_sensor(struct sd *sd, const u8 address,
Expand Down

0 comments on commit 8ee0c95

Please sign in to comment.