diff options
author | Andrew de Quincy <devnull@localhost> | 2005-07-26 23:13:11 +0000 |
---|---|---|
committer | Andrew de Quincy <devnull@localhost> | 2005-07-26 23:13:11 +0000 |
commit | 8810fab6d155c36b39a87010ce93e2b3aa8958f0 (patch) | |
tree | aa0ec026d9d4e4de2f3b9b3bf920c583a11be809 /linux/drivers/media/dvb/frontends | |
parent | 981af51d274995a27213bc33fa9b32598a51b69b (diff) | |
download | mediapointer-dvb-s2-8810fab6d155c36b39a87010ce93e2b3aa8958f0.tar.gz mediapointer-dvb-s2-8810fab6d155c36b39a87010ce93e2b3aa8958f0.tar.bz2 |
Removed PWM parameter - moved into inittabs.
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r-- | linux/drivers/media/dvb/frontends/stv0297.c | 4 | ||||
-rw-r--r-- | linux/drivers/media/dvb/frontends/stv0297.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0297.c b/linux/drivers/media/dvb/frontends/stv0297.c index 7795e0f99..9746045a9 100644 --- a/linux/drivers/media/dvb/frontends/stv0297.c +++ b/linux/drivers/media/dvb/frontends/stv0297.c @@ -35,7 +35,6 @@ struct stv0297_state { struct dvb_frontend frontend; unsigned long base_freq; - u8 pwm; }; #if 1 @@ -619,7 +618,7 @@ static void stv0297_release(struct dvb_frontend *fe) static struct dvb_frontend_ops stv0297_ops; struct dvb_frontend *stv0297_attach(const struct stv0297_config *config, - struct i2c_adapter *i2c, int pwm) + struct i2c_adapter *i2c) { struct stv0297_state *state = NULL; @@ -633,7 +632,6 @@ struct dvb_frontend *stv0297_attach(const struct stv0297_config *config, state->i2c = i2c; memcpy(&state->ops, &stv0297_ops, sizeof(struct dvb_frontend_ops)); state->base_freq = 0; - state->pwm = pwm; /* check if the demod is there */ if ((stv0297_readreg(state, 0x80) & 0x70) != 0x20) diff --git a/linux/drivers/media/dvb/frontends/stv0297.h b/linux/drivers/media/dvb/frontends/stv0297.h index 7733b896e..9e53f019d 100644 --- a/linux/drivers/media/dvb/frontends/stv0297.h +++ b/linux/drivers/media/dvb/frontends/stv0297.h @@ -44,7 +44,7 @@ struct stv0297_config }; extern struct dvb_frontend* stv0297_attach(const struct stv0297_config* config, - struct i2c_adapter* i2c, int pwm); + struct i2c_adapter* i2c); extern int stv0297_enable_plli2c(struct dvb_frontend* fe); #endif // STV0297_H |