Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64924
b: refs/heads/master
c: f5ab272
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Sep 14, 2007
1 parent a9b6d49 commit cde105b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 7b9fbc3e30f785412a26819aa4daf0b6c27f6c53
refs/heads/master: f5ab272bbff2a37d6d8f84328b6d25d0cdbda605
4 changes: 2 additions & 2 deletions trunk/drivers/media/video/saa7191.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ static int saa7191_write_reg(struct i2c_client *client, u8 reg,

/* the first byte of data must be the first subaddress number (register) */
static int saa7191_write_block(struct i2c_client *client,
u8 length, u8 *data)
u8 length, const u8 *data)
{
int i;
int ret;
Expand Down Expand Up @@ -592,7 +592,7 @@ static int saa7191_attach(struct i2c_adapter *adap, int addr, int kind)
if (err)
goto out_free_decoder;

err = saa7191_write_block(client, sizeof(initseq), (u8 *)initseq);
err = saa7191_write_block(client, sizeof(initseq), initseq);
if (err) {
printk(KERN_ERR "SAA7191 initialization failed\n");
goto out_detach_client;
Expand Down

0 comments on commit cde105b

Please sign in to comment.