summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/bsbe1.h
diff options
context:
space:
mode:
authorAndrew de Quincey <adq_dvb@lidskialf.net>2006-04-18 21:47:11 +0100
committerAndrew de Quincey <adq_dvb@lidskialf.net>2006-04-18 21:47:11 +0100
commit5963aaf6c15a377623fb24e82b5dbdd558617aad (patch)
tree26dbd27531b98ca9b793a98979c55cd4f41157f8 /linux/drivers/media/dvb/frontends/bsbe1.h
parent2d1d22049e38a7b369d113ec29ec44d387236c5a (diff)
downloadmediapointer-dvb-s2-5963aaf6c15a377623fb24e82b5dbdd558617aad.tar.gz
mediapointer-dvb-s2-5963aaf6c15a377623fb24e82b5dbdd558617aad.tar.bz2
Convert bsbe1/bsru6 to refactored tuner code
From: Andrew de Quincey <adq_dvb@lidskialf.net> Convert to tuner_ops call API. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/bsbe1.h')
-rw-r--r--linux/drivers/media/dvb/frontends/bsbe1.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/bsbe1.h b/linux/drivers/media/dvb/frontends/bsbe1.h
index 78573b22a..6b52d5abf 100644
--- a/linux/drivers/media/dvb/frontends/bsbe1.h
+++ b/linux/drivers/media/dvb/frontends/bsbe1.h
@@ -89,12 +89,13 @@ static int alps_bsbe1_set_symbol_rate(struct dvb_frontend* fe, u32 srate, u32 ra
return 0;
}
-static int alps_bsbe1_pll_set(struct dvb_frontend* fe, struct i2c_adapter *i2c, struct dvb_frontend_parameters* params)
+static int alps_bsbe1_tuner_set_params(struct dvb_frontend* fe, struct dvb_frontend_parameters *params)
{
int ret;
u8 data[4];
u32 div;
struct i2c_msg msg = { .addr = 0x61, .flags = 0, .buf = data, .len = sizeof(data) };
+ struct i2c_adapter *i2c = fe->tuner_priv;
if ((params->frequency < 950000) || (params->frequency > 2150000))
return -EINVAL;
@@ -117,7 +118,6 @@ static struct stv0299_config alps_bsbe1_config = {
.skip_reinit = 0,
.min_delay_ms = 100,
.set_symbol_rate = alps_bsbe1_set_symbol_rate,
- .pll_set = alps_bsbe1_pll_set,
};
#endif