diff options
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/b2c2/Makefile | 1 | ||||
-rw-r--r-- | drivers/media/dvb/b2c2/flexcop-fe-tuner.c | 6 | ||||
-rw-r--r-- | drivers/media/dvb/bt8xx/dvb-bt8xx.c | 5 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/cxusb.c | 7 |
4 files changed, 14 insertions, 5 deletions
diff --git a/drivers/media/dvb/b2c2/Makefile b/drivers/media/dvb/b2c2/Makefile index e97ff60a1eff..7d5334106d5a 100644 --- a/drivers/media/dvb/b2c2/Makefile +++ b/drivers/media/dvb/b2c2/Makefile | |||
@@ -13,3 +13,4 @@ b2c2-flexcop-usb-objs = flexcop-usb.o | |||
13 | obj-$(CONFIG_DVB_B2C2_FLEXCOP_USB) += b2c2-flexcop-usb.o | 13 | obj-$(CONFIG_DVB_B2C2_FLEXCOP_USB) += b2c2-flexcop-usb.o |
14 | 14 | ||
15 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core/ -Idrivers/media/dvb/frontends/ | 15 | EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core/ -Idrivers/media/dvb/frontends/ |
16 | EXTRA_CFLAGS += -Idrivers/media/video/ | ||
diff --git a/drivers/media/dvb/b2c2/flexcop-fe-tuner.c b/drivers/media/dvb/b2c2/flexcop-fe-tuner.c index 0378fd646591..441ffdf0d9c9 100644 --- a/drivers/media/dvb/b2c2/flexcop-fe-tuner.c +++ b/drivers/media/dvb/b2c2/flexcop-fe-tuner.c | |||
@@ -5,6 +5,8 @@ | |||
5 | * | 5 | * |
6 | * see flexcop.c for copyright information. | 6 | * see flexcop.c for copyright information. |
7 | */ | 7 | */ |
8 | #include <media/tuner.h> | ||
9 | |||
8 | #include "flexcop.h" | 10 | #include "flexcop.h" |
9 | 11 | ||
10 | #include "stv0299.h" | 12 | #include "stv0299.h" |
@@ -15,6 +17,7 @@ | |||
15 | #include "mt312.h" | 17 | #include "mt312.h" |
16 | #include "lgdt330x.h" | 18 | #include "lgdt330x.h" |
17 | #include "dvb-pll.h" | 19 | #include "dvb-pll.h" |
20 | #include "tuner-simple.h" | ||
18 | 21 | ||
19 | /* lnb control */ | 22 | /* lnb control */ |
20 | 23 | ||
@@ -506,7 +509,8 @@ int flexcop_frontend_init(struct flexcop_device *fc) | |||
506 | /* try the air atsc 3nd generation (lgdt3303) */ | 509 | /* try the air atsc 3nd generation (lgdt3303) */ |
507 | if ((fc->fe = dvb_attach(lgdt330x_attach, &air2pc_atsc_hd5000_config, &fc->i2c_adap)) != NULL) { | 510 | if ((fc->fe = dvb_attach(lgdt330x_attach, &air2pc_atsc_hd5000_config, &fc->i2c_adap)) != NULL) { |
508 | fc->dev_type = FC_AIR_ATSC3; | 511 | fc->dev_type = FC_AIR_ATSC3; |
509 | dvb_attach(dvb_pll_attach, fc->fe, 0x61, &fc->i2c_adap, DVB_PLL_LG_TDVS_H06XF); | 512 | dvb_attach(simple_tuner_attach, fc->fe, |
513 | &fc->i2c_adap, 0x61, TUNER_LG_TDVS_H06XF); | ||
510 | info("found the lgdt3303 at i2c address: 0x%02x",air2pc_atsc_hd5000_config.demod_address); | 514 | info("found the lgdt3303 at i2c address: 0x%02x",air2pc_atsc_hd5000_config.demod_address); |
511 | } else | 515 | } else |
512 | /* try the air atsc 1nd generation (bcm3510)/panasonic ct10s */ | 516 | /* try the air atsc 1nd generation (bcm3510)/panasonic ct10s */ |
diff --git a/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/drivers/media/dvb/bt8xx/dvb-bt8xx.c index 6d8b84490fa8..65081f161544 100644 --- a/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/drivers/media/dvb/bt8xx/dvb-bt8xx.c | |||
@@ -609,8 +609,9 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type) | |||
609 | lgdt330x_reset(card); | 609 | lgdt330x_reset(card); |
610 | card->fe = dvb_attach(lgdt330x_attach, &tdvs_tua6034_config, card->i2c_adapter); | 610 | card->fe = dvb_attach(lgdt330x_attach, &tdvs_tua6034_config, card->i2c_adapter); |
611 | if (card->fe != NULL) { | 611 | if (card->fe != NULL) { |
612 | dvb_attach(dvb_pll_attach, card->fe, 0x61, | 612 | dvb_attach(simple_tuner_attach, card->fe, |
613 | card->i2c_adapter, DVB_PLL_LG_TDVS_H06XF); | 613 | card->i2c_adapter, 0x61, |
614 | TUNER_LG_TDVS_H06XF); | ||
614 | dprintk ("dvb_bt8xx: lgdt330x detected\n"); | 615 | dprintk ("dvb_bt8xx: lgdt330x detected\n"); |
615 | } | 616 | } |
616 | break; | 617 | break; |
diff --git a/drivers/media/dvb/dvb-usb/cxusb.c b/drivers/media/dvb/dvb-usb/cxusb.c index 8aff70217635..8b4243a1fca8 100644 --- a/drivers/media/dvb/dvb-usb/cxusb.c +++ b/drivers/media/dvb/dvb-usb/cxusb.c | |||
@@ -23,6 +23,8 @@ | |||
23 | * | 23 | * |
24 | * see Documentation/dvb/README.dvb-usb for more information | 24 | * see Documentation/dvb/README.dvb-usb for more information |
25 | */ | 25 | */ |
26 | #include <media/tuner.h> | ||
27 | |||
26 | #include "cxusb.h" | 28 | #include "cxusb.h" |
27 | 29 | ||
28 | #include "cx22702.h" | 30 | #include "cx22702.h" |
@@ -32,6 +34,7 @@ | |||
32 | #include "zl10353.h" | 34 | #include "zl10353.h" |
33 | #include "tuner-xc2028.h" | 35 | #include "tuner-xc2028.h" |
34 | #include "tuner-xc2028-types.h" | 36 | #include "tuner-xc2028-types.h" |
37 | #include "tuner-simple.h" | ||
35 | 38 | ||
36 | /* debug */ | 39 | /* debug */ |
37 | static int dvb_usb_cxusb_debug; | 40 | static int dvb_usb_cxusb_debug; |
@@ -477,8 +480,8 @@ static int cxusb_dtt7579_tuner_attach(struct dvb_usb_adapter *adap) | |||
477 | 480 | ||
478 | static int cxusb_lgh064f_tuner_attach(struct dvb_usb_adapter *adap) | 481 | static int cxusb_lgh064f_tuner_attach(struct dvb_usb_adapter *adap) |
479 | { | 482 | { |
480 | dvb_attach(dvb_pll_attach, adap->fe, 0x61, &adap->dev->i2c_adap, | 483 | dvb_attach(simple_tuner_attach, adap->fe, |
481 | DVB_PLL_LG_TDVS_H06XF); | 484 | &adap->dev->i2c_adap, 0x61, TUNER_LG_TDVS_H06XF); |
482 | return 0; | 485 | return 0; |
483 | } | 486 | } |
484 | 487 | ||