Skip to content

Commit

Permalink
V4L/DVB (9454): Fix a compile warning
Browse files Browse the repository at this point in the history
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Dec 29, 2008
1 parent 85eabac commit 3d6a3be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/media/dvb/frontends/stb0899_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ int stb0899_write_s2reg(struct stb0899_state *state,
return status < 0 ? status : -EREMOTEIO;
}

int stb0899_read_regs(struct stb0899_state *state, unsigned int reg, u8 *buf, size_t count)
int stb0899_read_regs(struct stb0899_state *state, unsigned int reg, u8 *buf, u32 count)
{
int status;

Expand Down
2 changes: 1 addition & 1 deletion drivers/media/dvb/frontends/stb0899_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ extern u32 _stb0899_read_s2reg(struct stb0899_state *state,

extern int stb0899_read_regs(struct stb0899_state *state,
unsigned int reg, u8 *buf,
size_t count);
u32 count);

extern int stb0899_write_regs(struct stb0899_state *state,
unsigned int reg, u8 *data,
Expand Down

0 comments on commit 3d6a3be

Please sign in to comment.