diff options
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/dvb/frontends/alps_bsrv2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/frontends/alps_bsrv2.c b/linux/drivers/media/dvb/frontends/alps_bsrv2.c index 01175f24e..b48be9345 100644 --- a/linux/drivers/media/dvb/frontends/alps_bsrv2.c +++ b/linux/drivers/media/dvb/frontends/alps_bsrv2.c @@ -72,7 +72,7 @@ u8 init_1893_wtab[] = static -int ves1893_writereg (struct dvb_i2c_bus *i2c, int reg, int data) +int ves1893_writereg (struct dvb_i2c_bus *i2c, u8 reg, u8 data) { u8 buf [] = { 0x00, reg, data }; struct i2c_msg msg = { addr: 0x08, flags: 0, buf: buf, len: 3 }; @@ -296,7 +296,7 @@ int ves1893_set_voltage (struct dvb_i2c_bus *i2c, fe_sec_voltage_t voltage) return ves1893_writereg (i2c, 0x1f, 0x30); default: return -EINVAL; - }; + } } @@ -313,7 +313,7 @@ int bsrv2_ioctl (struct dvb_frontend *fe, unsigned int cmd, void *arg) case FE_READ_STATUS: { fe_status_t *status = arg; - int sync = ves1893_readreg (i2c, 0x0e); + u8 sync = ves1893_readreg (i2c, 0x0e); *status = 0; |