diff options
author | Patrick Boettcher <pb@linuxtv.org> | 2006-08-08 14:48:10 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-09-26 10:53:43 -0400 |
commit | 825d51ef9ed956d896244f82b02988d370a7e47e (patch) | |
tree | 40d3b77300b4fe46ba2a56ad3121bd533550abde /drivers/media/dvb/frontends | |
parent | a841e1f6d153c72e29802a33520f2c862792f7b0 (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/Kconfig | 5 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/Makefile | 3 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/mt2060.c | 2 |
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 | ||
277 | config DVB_TUNER_MT2060 | ||
278 | tristate "Microtune MT2060 silicon IF tuner" | ||
279 | help | ||
280 | A driver for the silicon IF tuner MT2060 from Microtune. | ||
281 | |||
277 | comment "Miscellaneous devices" | 282 | comment "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 | |||
31 | obj-$(CONFIG_DVB_S5H1420) += s5h1420.o | 31 | obj-$(CONFIG_DVB_S5H1420) += s5h1420.o |
32 | obj-$(CONFIG_DVB_LGDT330X) += lgdt330x.o | 32 | obj-$(CONFIG_DVB_LGDT330X) += lgdt330x.o |
33 | obj-$(CONFIG_DVB_CX24123) += cx24123.o | 33 | obj-$(CONFIG_DVB_CX24123) += cx24123.o |
34 | obj-$(CONFIG_DVB_LNBP21) += lnbp21.o | ||
35 | obj-$(CONFIG_DVB_ISL6421) += isl6421.o | ||
36 | obj-$(CONFIG_DVB_TDA10086) += tda10086.o | 34 | obj-$(CONFIG_DVB_TDA10086) += tda10086.o |
37 | obj-$(CONFIG_DVB_TDA826X) += tda826x.o | 35 | obj-$(CONFIG_DVB_TDA826X) += tda826x.o |
36 | obj-$(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 | } |