aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2006-08-08 14:48:10 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-09-26 10:53:43 -0400
commit825d51ef9ed956d896244f82b02988d370a7e47e (patch)
tree40d3b77300b4fe46ba2a56ad3121bd533550abde /drivers/media/dvb/frontends
parenta841e1f6d153c72e29802a33520f2c862792f7b0 (diff)
V4L/DVB: MT2060: Code cleanups, adding to new build-mechanism
Some minor code cleanups and added the MT2060 to new v4l-dvb-build-system, preliminarily under dvb/frontends. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r--drivers/media/dvb/frontends/Kconfig5
-rw-r--r--drivers/media/dvb/frontends/Makefile3
-rw-r--r--drivers/media/dvb/frontends/mt2060.c2
3 files changed, 7 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/Kconfig b/drivers/media/dvb/frontends/Kconfig
index 63e8e7e2a1f3..9e5ff0dbe2d4 100644
--- a/drivers/media/dvb/frontends/Kconfig
+++ b/drivers/media/dvb/frontends/Kconfig
@@ -274,6 +274,11 @@ config DVB_TDA826X
274 help 274 help
275 A DVB-S silicon tuner module. Say Y when you want to support this tuner. 275 A DVB-S silicon tuner module. Say Y when you want to support this tuner.
276 276
277config DVB_TUNER_MT2060
278 tristate "Microtune MT2060 silicon IF tuner"
279 help
280 A driver for the silicon IF tuner MT2060 from Microtune.
281
277comment "Miscellaneous devices" 282comment "Miscellaneous devices"
278 depends on DVB_CORE 283 depends on DVB_CORE
279 284
diff --git a/drivers/media/dvb/frontends/Makefile b/drivers/media/dvb/frontends/Makefile
index 646aa6d1487d..505a81a971ba 100644
--- a/drivers/media/dvb/frontends/Makefile
+++ b/drivers/media/dvb/frontends/Makefile
@@ -31,7 +31,6 @@ obj-$(CONFIG_DVB_BCM3510) += bcm3510.o
31obj-$(CONFIG_DVB_S5H1420) += s5h1420.o 31obj-$(CONFIG_DVB_S5H1420) += s5h1420.o
32obj-$(CONFIG_DVB_LGDT330X) += lgdt330x.o 32obj-$(CONFIG_DVB_LGDT330X) += lgdt330x.o
33obj-$(CONFIG_DVB_CX24123) += cx24123.o 33obj-$(CONFIG_DVB_CX24123) += cx24123.o
34obj-$(CONFIG_DVB_LNBP21) += lnbp21.o
35obj-$(CONFIG_DVB_ISL6421) += isl6421.o
36obj-$(CONFIG_DVB_TDA10086) += tda10086.o 34obj-$(CONFIG_DVB_TDA10086) += tda10086.o
37obj-$(CONFIG_DVB_TDA826X) += tda826x.o 35obj-$(CONFIG_DVB_TDA826X) += tda826x.o
36obj-$(CONFIG_DVB_TUNER_MT2060) += mt2060.o
diff --git a/drivers/media/dvb/frontends/mt2060.c b/drivers/media/dvb/frontends/mt2060.c
index aa92c1c51e6d..618da4bafbb2 100644
--- a/drivers/media/dvb/frontends/mt2060.c
+++ b/drivers/media/dvb/frontends/mt2060.c
@@ -278,7 +278,7 @@ static void mt2060_calibrate(struct mt2060_state *state)
278 278
279 if (i < 10) { 279 if (i < 10) {
280 mt2060_readreg(state, REG_FM_FREQ, &state->fmfreq); // now find out, what is fmreq used for :) 280 mt2060_readreg(state, REG_FM_FREQ, &state->fmfreq); // now find out, what is fmreq used for :)
281 dprintk("calibration was successful: %d",state->fmfreq); 281 dprintk("calibration was successful: %d", state->fmfreq);
282 } else 282 } else
283 dprintk("FMCAL timed out"); 283 dprintk("FMCAL timed out");
284} 284}