diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-04-25 04:36:19 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 00:59:22 -0400 |
commit | d3b9d6217e8f96d220a94bb5eebc786b62af817b (patch) | |
tree | 7370323b7cd8267694a5e13539c30b5dbfa52349 /drivers/media/dvb/dvb-usb/dvb-usb-i2c.c | |
parent | f6adb91c9e9b12b727cf6afb95282d759d103743 (diff) |
V4L/DVB (3898): Fix dvb-usb tuner code
I had forgotten to rename some of the tuner functions in the refactoring.
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dvb-usb-i2c.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dvb-usb-i2c.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-i2c.c b/drivers/media/dvb/dvb-usb/dvb-usb-i2c.c index b067c72f8356..6c868d667424 100644 --- a/drivers/media/dvb/dvb-usb/dvb-usb-i2c.c +++ b/drivers/media/dvb/dvb-usb/dvb-usb-i2c.c | |||
@@ -77,7 +77,7 @@ int dvb_usb_tuner_init_i2c(struct dvb_frontend *fe) | |||
77 | } | 77 | } |
78 | EXPORT_SYMBOL(dvb_usb_tuner_init_i2c); | 78 | EXPORT_SYMBOL(dvb_usb_tuner_init_i2c); |
79 | 79 | ||
80 | int dvb_usb_tuner_pllbuf(struct dvb_frontend *fe, struct dvb_frontend_parameters *fep, u8 *b, int buf_len) | 80 | int dvb_usb_tuner_calc_regs(struct dvb_frontend *fe, struct dvb_frontend_parameters *fep, u8 *b, int buf_len) |
81 | { | 81 | { |
82 | struct dvb_usb_device *d = fe->dvb->priv; | 82 | struct dvb_usb_device *d = fe->dvb->priv; |
83 | 83 | ||
@@ -95,16 +95,16 @@ int dvb_usb_tuner_pllbuf(struct dvb_frontend *fe, struct dvb_frontend_parameters | |||
95 | 95 | ||
96 | return 5; | 96 | return 5; |
97 | } | 97 | } |
98 | EXPORT_SYMBOL(dvb_usb_tuner_pllbuf); | 98 | EXPORT_SYMBOL(dvb_usb_tuner_calc_regs); |
99 | 99 | ||
100 | int dvb_usb_tuner_set_frequency_i2c(struct dvb_frontend *fe, struct dvb_frontend_parameters *fep) | 100 | int dvb_usb_tuner_set_params_i2c(struct dvb_frontend *fe, struct dvb_frontend_parameters *fep) |
101 | { | 101 | { |
102 | struct dvb_usb_device *d = fe->dvb->priv; | 102 | struct dvb_usb_device *d = fe->dvb->priv; |
103 | int ret = 0; | 103 | int ret = 0; |
104 | u8 b[5]; | 104 | u8 b[5]; |
105 | struct i2c_msg msg = { .addr = d->pll_addr, .flags = 0, .buf = &b[1], .len = 4 }; | 105 | struct i2c_msg msg = { .addr = d->pll_addr, .flags = 0, .buf = &b[1], .len = 4 }; |
106 | 106 | ||
107 | dvb_usb_tuner_pllbuf(fe,fep,b,5); | 107 | dvb_usb_tuner_calc_regs(fe,fep,b,5); |
108 | 108 | ||
109 | if (d->tuner_pass_ctrl) | 109 | if (d->tuner_pass_ctrl) |
110 | d->tuner_pass_ctrl(fe,1,d->pll_addr); | 110 | d->tuner_pass_ctrl(fe,1,d->pll_addr); |
@@ -122,4 +122,4 @@ int dvb_usb_tuner_set_frequency_i2c(struct dvb_frontend *fe, struct dvb_frontend | |||
122 | 122 | ||
123 | return ret; | 123 | return ret; |
124 | } | 124 | } |
125 | EXPORT_SYMBOL(dvb_usb_tuner_set_frequency_i2c); | 125 | EXPORT_SYMBOL(dvb_usb_tuner_set_params_i2c); |