diff options
Diffstat (limited to 'drivers/media/dvb/b2c2/flexcop-fe-tuner.c')
-rw-r--r-- | drivers/media/dvb/b2c2/flexcop-fe-tuner.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/dvb/b2c2/flexcop-fe-tuner.c b/drivers/media/dvb/b2c2/flexcop-fe-tuner.c index 0378fd64659..441ffdf0d9c 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 */ |