diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-09-28 13:47:21 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 10:34:51 -0500 |
commit | 6cf2a10180e4039aaad1e4ecba5f2520f157da40 (patch) | |
tree | 2801e8cb2c1ff2173292e60f59cd72047a6aadee /drivers/media/dvb/frontends/qt1010.h | |
parent | 94a47dc4335a614eba30cf29aa3a953040625c92 (diff) |
V4L/DVB (5133): M920x: move qt1010_tuner_attach function into qt1010.h
The megasky_tuner_attach function is not specific to this device.
This patch renames it to qt1010_tuner_attach and moves it into the qt1010
header file.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/qt1010.h')
-rw-r--r-- | drivers/media/dvb/frontends/qt1010.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/qt1010.h b/drivers/media/dvb/frontends/qt1010.h index 3a566085fa32..59ee1cd03e33 100644 --- a/drivers/media/dvb/frontends/qt1010.h +++ b/drivers/media/dvb/frontends/qt1010.h | |||
@@ -215,4 +215,12 @@ static int qt1010_set_params(struct dvb_frontend *fe, struct dvb_frontend_parame | |||
215 | return 0; | 215 | return 0; |
216 | } | 216 | } |
217 | 217 | ||
218 | static int qt1010_tuner_attach(struct dvb_usb_adapter *adap) | ||
219 | { | ||
220 | adap->pll_addr = 0xc4; | ||
221 | adap->pll_desc = NULL; | ||
222 | adap->fe->ops.tuner_ops.set_params = qt1010_set_params; | ||
223 | |||
224 | return 0; | ||
225 | } | ||
218 | #endif | 226 | #endif |