summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/or51211.c
diff options
context:
space:
mode:
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 6afe12aaca4e..16cf2fdd5d7d 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;
OpenPOWER on IntegriCloud