aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2006-10-03 16:19:30 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 10:35:28 -0500
commit6ae7232084ffea750968320241a0276d2211d736 (patch)
treeb43cc40c9ff26b9f0b1f28e8b5ec260448daa396
parent8bb36dc7b5c9f528541b8674f9417901129dae64 (diff)
V4L/DVB (5229): Gl861: use qt1010_tuner_attach function from qt1010.h
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> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/dvb/dvb-usb/gl861.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/media/dvb/dvb-usb/gl861.c b/drivers/media/dvb/dvb-usb/gl861.c
index 86964622f8be..7212c42c278c 100644
--- a/drivers/media/dvb/dvb-usb/gl861.c
+++ b/drivers/media/dvb/dvb-usb/gl861.c
@@ -115,15 +115,6 @@ static int gl861_frontend_attach(struct dvb_usb_adapter *adap)
115 return -EIO; 115 return -EIO;
116} 116}
117 117
118static int gl861_tuner_attach(struct dvb_usb_adapter *adap)
119{
120 adap->pll_addr = 0xc4;
121 adap->pll_desc = NULL;
122 adap->fe->ops.tuner_ops.set_params = qt1010_set_params;
123
124 return 0;
125}
126
127/* DVB USB Driver stuff */ 118/* DVB USB Driver stuff */
128static struct dvb_usb_device_properties gl861_properties; 119static struct dvb_usb_device_properties gl861_properties;
129 120
@@ -170,7 +161,7 @@ static struct dvb_usb_device_properties gl861_properties = {
170 .caps = DVB_USB_IS_AN_I2C_ADAPTER, 161 .caps = DVB_USB_IS_AN_I2C_ADAPTER,
171 162
172 .frontend_attach = gl861_frontend_attach, 163 .frontend_attach = gl861_frontend_attach,
173 .tuner_attach = gl861_tuner_attach, 164 .tuner_attach = qt1010_tuner_attach,
174 165
175 .stream = { 166 .stream = {
176 .type = USB_BULK, 167 .type = USB_BULK,