diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-09-28 13:47:21 -0400 |
---|---|---|
committer | Michael Krufky <mkrufky@linuxtv.org> | 2006-09-28 13:47:21 -0400 |
commit | 1dbb128dceee78e8bcaada93e52d992c104737d0 (patch) | |
tree | 16e04cf1180107307816d9d9c75be3cf2e7b5c7e /linux/drivers/media/dvb/frontends | |
parent | c40096038d501a3afa1722d4290477ae37557964 (diff) | |
download | mediapointer-dvb-s2-1dbb128dceee78e8bcaada93e52d992c104737d0.tar.gz mediapointer-dvb-s2-1dbb128dceee78e8bcaada93e52d992c104737d0.tar.bz2 |
m920x: move qt1010_tuner_attach function into qt1010.h
From: Michael Krufky <mkrufky@linuxtv.org>
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>
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r-- | linux/drivers/media/dvb/frontends/qt1010.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/qt1010.h b/linux/drivers/media/dvb/frontends/qt1010.h index 3a566085f..59ee1cd03 100644 --- a/linux/drivers/media/dvb/frontends/qt1010.h +++ b/linux/drivers/media/dvb/frontends/qt1010.h @@ -215,4 +215,12 @@ static int qt1010_set_params(struct dvb_frontend *fe, struct dvb_frontend_parame return 0; } +static int qt1010_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; +} #endif |