summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2006-10-03 16:19:30 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2006-10-03 16:19:30 -0400
commit7c8509f620b67d34f8633a889c45ffea818e644e (patch)
treec824d756c63cee7a275157e73644ce8db6178e4e /linux/drivers
parentb688d4937dd26829c0f8addf8747c022a76dc374 (diff)
downloadmediapointer-dvb-s2-7c8509f620b67d34f8633a889c45ffea818e644e.tar.gz
mediapointer-dvb-s2-7c8509f620b67d34f8633a889c45ffea818e644e.tar.bz2
gl861: use qt1010_tuner_attach function from qt1010.h
From: Michael Krufky <mkrufky@linuxtv.org> The gl861_tuner_attach function is not specific to this device. This patch removes gl861_tuner_attach, and replaces it with qt1010_tuner_attach from the qt1010 header file. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/gl861.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/gl861.c b/linux/drivers/media/dvb/dvb-usb/gl861.c
index 66a231607..c97db23a7 100644
--- a/linux/drivers/media/dvb/dvb-usb/gl861.c
+++ b/linux/drivers/media/dvb/dvb-usb/gl861.c
@@ -118,15 +118,6 @@ static int gl861_frontend_attach(struct dvb_usb_adapter *adap)
return -EIO;
}
-static int gl861_tuner_attach(struct dvb_usb_adapter *adap)
-{
- adap->pll_addr = 0xc4;
- adap->pll_desc = NULL;
- adap->fe->ops.tuner_ops.set_params = qt1010_set_params;
-
- return 0;
-}
-
/* DVB USB Driver stuff */
static struct dvb_usb_device_properties gl861_properties;
@@ -173,7 +164,7 @@ static struct dvb_usb_device_properties gl861_properties = {
.caps = DVB_USB_IS_AN_I2C_ADAPTER,
.frontend_attach = gl861_frontend_attach,
- .tuner_attach = gl861_tuner_attach,
+ .tuner_attach = qt1010_tuner_attach,
.stream = {
.type = USB_BULK,