diff options
author | Andreas Oberritter <devnull@localhost> | 2003-01-02 05:57:23 +0000 |
---|---|---|
committer | Andreas Oberritter <devnull@localhost> | 2003-01-02 05:57:23 +0000 |
commit | e9872aa78e8f16ff0e4b7480ad972cbf9844f406 (patch) | |
tree | 9405b8c75d92a2990d63582e7e4b8a0eb455b0b8 /linux | |
parent | 3512f958136a0cd987249c10d36099bd1b1ef3e7 (diff) | |
download | mediapointer-dvb-s2-e9872aa78e8f16ff0e4b7480ad972cbf9844f406.tar.gz mediapointer-dvb-s2-e9872aa78e8f16ff0e4b7480ad972cbf9844f406.tar.bz2 |
tiny code cleanup
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; |