summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/or51211.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-08-22 17:12:08 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 09:36:52 -0200
commiteda9e4e29492aff55ceb3f719a6011bddc60a892 (patch)
tree88cf6a4b61a4bf1a1e7ef122073a8e52b6a3d963 /drivers/media/dvb/frontends/or51211.c
parent614b147b4f8f38a090f88ac02f67b01225bb5d54 (diff)
V4L/DVB (8746): v4l-dvb: fix compile warnings.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/or51211.c')
-rw-r--r--drivers/media/dvb/frontends/or51211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/or51211.c b/drivers/media/dvb/frontends/or51211.c
index 6afe12aaca4..16cf2fdd5d7 100644
--- a/drivers/media/dvb/frontends/or51211.c
+++ b/drivers/media/dvb/frontends/or51211.c
@@ -88,7 +88,7 @@ static int i2c_writebytes (struct or51211_state* state, u8 reg, const u8 *buf,
return 0;
}
-static u8 i2c_readbytes (struct or51211_state* state, u8 reg, u8* buf, int len)
+static int i2c_readbytes(struct or51211_state *state, u8 reg, u8 *buf, int len)
{
int err;
struct i2c_msg msg;