diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-06-12 15:10:51 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-18 13:24:16 -0400 |
commit | 47a9991e806940f400f90d7b9cbcf7c2925e4fce (patch) | |
tree | ed7f9e8955be4ea298fd2f87e196a69817ef3617 /drivers/media/video | |
parent | 6c08d9290e2fc87b217d0f7c9cd67c9240ad7147 (diff) |
V4L/DVB (5780): Dvb: Remove static dependencies on dvb-pll
This patch removes all static dependencies on the dvb-pll module.
All exported dvb_pll_desc's have been UNexported, and the caller
will reference the individual dvb_pll_desc by it's index in the
pll_list array.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Acked-by: Oliver Endriss <o.endriss@gmx.de>
Acked-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/cx88/Kconfig | 2 | ||||
-rw-r--r-- | drivers/media/video/cx88/cx88-dvb.c | 34 | ||||
-rw-r--r-- | drivers/media/video/saa7134/Kconfig | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 10 |
4 files changed, 24 insertions, 24 deletions
diff --git a/drivers/media/video/cx88/Kconfig b/drivers/media/video/cx88/Kconfig index 0f9d96963618..f750a543c961 100644 --- a/drivers/media/video/cx88/Kconfig +++ b/drivers/media/video/cx88/Kconfig | |||
@@ -47,7 +47,7 @@ config VIDEO_CX88_DVB | |||
47 | tristate "DVB/ATSC Support for cx2388x based TV cards" | 47 | tristate "DVB/ATSC Support for cx2388x based TV cards" |
48 | depends on VIDEO_CX88 && DVB_CORE | 48 | depends on VIDEO_CX88 && DVB_CORE |
49 | select VIDEO_BUF_DVB | 49 | select VIDEO_BUF_DVB |
50 | select DVB_PLL | 50 | select DVB_PLL if !DVB_FE_CUSTOMISE |
51 | select DVB_MT352 if !DVB_FE_CUSTOMISE | 51 | select DVB_MT352 if !DVB_FE_CUSTOMISE |
52 | select DVB_ZL10353 if !DVB_FE_CUSTOMISE | 52 | select DVB_ZL10353 if !DVB_FE_CUSTOMISE |
53 | select DVB_OR51132 if !DVB_FE_CUSTOMISE | 53 | select DVB_OR51132 if !DVB_FE_CUSTOMISE |
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c index c253e20087ce..1773b40467dc 100644 --- a/drivers/media/video/cx88/cx88-dvb.c +++ b/drivers/media/video/cx88/cx88-dvb.c | |||
@@ -386,7 +386,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
386 | if (dev->dvb.frontend != NULL) { | 386 | if (dev->dvb.frontend != NULL) { |
387 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 387 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
388 | &dev->core->i2c_adap, | 388 | &dev->core->i2c_adap, |
389 | &dvb_pll_thomson_dtt759x); | 389 | DVB_PLL_THOMSON_DTT759X); |
390 | } | 390 | } |
391 | break; | 391 | break; |
392 | case CX88_BOARD_TERRATEC_CINERGY_1400_DVB_T1: | 392 | case CX88_BOARD_TERRATEC_CINERGY_1400_DVB_T1: |
@@ -399,7 +399,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
399 | if (dev->dvb.frontend != NULL) { | 399 | if (dev->dvb.frontend != NULL) { |
400 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x60, | 400 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x60, |
401 | &dev->core->i2c_adap, | 401 | &dev->core->i2c_adap, |
402 | &dvb_pll_thomson_dtt7579); | 402 | DVB_PLL_THOMSON_DTT7579); |
403 | } | 403 | } |
404 | break; | 404 | break; |
405 | case CX88_BOARD_WINFAST_DTV2000H: | 405 | case CX88_BOARD_WINFAST_DTV2000H: |
@@ -412,7 +412,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
412 | &dev->core->i2c_adap); | 412 | &dev->core->i2c_adap); |
413 | if (dev->dvb.frontend != NULL) { | 413 | if (dev->dvb.frontend != NULL) { |
414 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 414 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
415 | &dev->core->i2c_adap, &dvb_pll_fmd1216me); | 415 | &dev->core->i2c_adap, DVB_PLL_FMD1216ME); |
416 | } | 416 | } |
417 | break; | 417 | break; |
418 | case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_PLUS: | 418 | case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_PLUS: |
@@ -421,7 +421,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
421 | &dev->core->i2c_adap); | 421 | &dev->core->i2c_adap); |
422 | if (dev->dvb.frontend != NULL) { | 422 | if (dev->dvb.frontend != NULL) { |
423 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x60, | 423 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x60, |
424 | NULL, &dvb_pll_thomson_dtt7579); | 424 | NULL, DVB_PLL_THOMSON_DTT7579); |
425 | break; | 425 | break; |
426 | } | 426 | } |
427 | /* ZL10353 replaces MT352 on later cards */ | 427 | /* ZL10353 replaces MT352 on later cards */ |
@@ -430,7 +430,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
430 | &dev->core->i2c_adap); | 430 | &dev->core->i2c_adap); |
431 | if (dev->dvb.frontend != NULL) { | 431 | if (dev->dvb.frontend != NULL) { |
432 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x60, | 432 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x60, |
433 | NULL, &dvb_pll_thomson_dtt7579); | 433 | NULL, DVB_PLL_THOMSON_DTT7579); |
434 | } | 434 | } |
435 | break; | 435 | break; |
436 | case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL: | 436 | case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL: |
@@ -441,7 +441,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
441 | &dev->core->i2c_adap); | 441 | &dev->core->i2c_adap); |
442 | if (dev->dvb.frontend != NULL) { | 442 | if (dev->dvb.frontend != NULL) { |
443 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 443 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
444 | NULL, &dvb_pll_thomson_dtt7579); | 444 | NULL, DVB_PLL_THOMSON_DTT7579); |
445 | break; | 445 | break; |
446 | } | 446 | } |
447 | /* ZL10353 replaces MT352 on later cards */ | 447 | /* ZL10353 replaces MT352 on later cards */ |
@@ -450,7 +450,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
450 | &dev->core->i2c_adap); | 450 | &dev->core->i2c_adap); |
451 | if (dev->dvb.frontend != NULL) { | 451 | if (dev->dvb.frontend != NULL) { |
452 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 452 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
453 | NULL, &dvb_pll_thomson_dtt7579); | 453 | NULL, DVB_PLL_THOMSON_DTT7579); |
454 | } | 454 | } |
455 | break; | 455 | break; |
456 | case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1: | 456 | case CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1: |
@@ -459,7 +459,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
459 | &dev->core->i2c_adap); | 459 | &dev->core->i2c_adap); |
460 | if (dev->dvb.frontend != NULL) { | 460 | if (dev->dvb.frontend != NULL) { |
461 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 461 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
462 | NULL, &dvb_pll_lg_z201); | 462 | NULL, DVB_PLL_LG_Z201); |
463 | } | 463 | } |
464 | break; | 464 | break; |
465 | case CX88_BOARD_KWORLD_DVB_T: | 465 | case CX88_BOARD_KWORLD_DVB_T: |
@@ -470,7 +470,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
470 | &dev->core->i2c_adap); | 470 | &dev->core->i2c_adap); |
471 | if (dev->dvb.frontend != NULL) { | 471 | if (dev->dvb.frontend != NULL) { |
472 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 472 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
473 | NULL, &dvb_pll_unknown_1); | 473 | NULL, DVB_PLL_UNKNOWN_1); |
474 | } | 474 | } |
475 | break; | 475 | break; |
476 | case CX88_BOARD_DNTV_LIVE_DVB_T_PRO: | 476 | case CX88_BOARD_DNTV_LIVE_DVB_T_PRO: |
@@ -479,7 +479,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
479 | &((struct vp3054_i2c_state *)dev->card_priv)->adap); | 479 | &((struct vp3054_i2c_state *)dev->card_priv)->adap); |
480 | if (dev->dvb.frontend != NULL) { | 480 | if (dev->dvb.frontend != NULL) { |
481 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 481 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
482 | &dev->core->i2c_adap, &dvb_pll_fmd1216me); | 482 | &dev->core->i2c_adap, DVB_PLL_FMD1216ME); |
483 | } | 483 | } |
484 | #else | 484 | #else |
485 | printk("%s: built without vp3054 support\n", dev->core->name); | 485 | printk("%s: built without vp3054 support\n", dev->core->name); |
@@ -492,7 +492,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
492 | if (dev->dvb.frontend != NULL) { | 492 | if (dev->dvb.frontend != NULL) { |
493 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 493 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
494 | &dev->core->i2c_adap, | 494 | &dev->core->i2c_adap, |
495 | &dvb_pll_thomson_fe6600); | 495 | DVB_PLL_THOMSON_FE6600); |
496 | } | 496 | } |
497 | break; | 497 | break; |
498 | case CX88_BOARD_PCHDTV_HD3000: | 498 | case CX88_BOARD_PCHDTV_HD3000: |
@@ -501,7 +501,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
501 | if (dev->dvb.frontend != NULL) { | 501 | if (dev->dvb.frontend != NULL) { |
502 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 502 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
503 | &dev->core->i2c_adap, | 503 | &dev->core->i2c_adap, |
504 | &dvb_pll_thomson_dtt761x); | 504 | DVB_PLL_THOMSON_DTT761X); |
505 | } | 505 | } |
506 | break; | 506 | break; |
507 | case CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_Q: | 507 | case CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD_Q: |
@@ -523,7 +523,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
523 | if (dev->dvb.frontend != NULL) { | 523 | if (dev->dvb.frontend != NULL) { |
524 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 524 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
525 | &dev->core->i2c_adap, | 525 | &dev->core->i2c_adap, |
526 | &dvb_pll_microtune_4042); | 526 | DVB_PLL_MICROTUNE_4042); |
527 | } | 527 | } |
528 | } | 528 | } |
529 | break; | 529 | break; |
@@ -543,7 +543,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
543 | if (dev->dvb.frontend != NULL) { | 543 | if (dev->dvb.frontend != NULL) { |
544 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 544 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
545 | &dev->core->i2c_adap, | 545 | &dev->core->i2c_adap, |
546 | &dvb_pll_thomson_dtt761x); | 546 | DVB_PLL_THOMSON_DTT761X); |
547 | } | 547 | } |
548 | } | 548 | } |
549 | break; | 549 | break; |
@@ -563,7 +563,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
563 | if (dev->dvb.frontend != NULL) { | 563 | if (dev->dvb.frontend != NULL) { |
564 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 564 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
565 | &dev->core->i2c_adap, | 565 | &dev->core->i2c_adap, |
566 | &dvb_pll_lg_tdvs_h06xf); | 566 | DVB_PLL_LG_TDVS_H06XF); |
567 | } | 567 | } |
568 | } | 568 | } |
569 | break; | 569 | break; |
@@ -583,7 +583,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
583 | if (dev->dvb.frontend != NULL) { | 583 | if (dev->dvb.frontend != NULL) { |
584 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 584 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
585 | &dev->core->i2c_adap, | 585 | &dev->core->i2c_adap, |
586 | &dvb_pll_lg_tdvs_h06xf); | 586 | DVB_PLL_LG_TDVS_H06XF); |
587 | } | 587 | } |
588 | } | 588 | } |
589 | break; | 589 | break; |
@@ -593,7 +593,7 @@ static int dvb_register(struct cx8802_dev *dev) | |||
593 | &dev->core->i2c_adap); | 593 | &dev->core->i2c_adap); |
594 | if (dev->dvb.frontend != NULL) { | 594 | if (dev->dvb.frontend != NULL) { |
595 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 595 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
596 | NULL, &dvb_pll_tuv1236d); | 596 | NULL, DVB_PLL_TUV1236D); |
597 | } | 597 | } |
598 | break; | 598 | break; |
599 | case CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1: | 599 | case CX88_BOARD_HAUPPAUGE_NOVASPLUS_S1: |
diff --git a/drivers/media/video/saa7134/Kconfig b/drivers/media/video/saa7134/Kconfig index 309dca368f4a..9f1417a4f7d2 100644 --- a/drivers/media/video/saa7134/Kconfig +++ b/drivers/media/video/saa7134/Kconfig | |||
@@ -40,7 +40,7 @@ config VIDEO_SAA7134_DVB | |||
40 | depends on VIDEO_SAA7134 && DVB_CORE | 40 | depends on VIDEO_SAA7134 && DVB_CORE |
41 | select VIDEO_BUF_DVB | 41 | select VIDEO_BUF_DVB |
42 | select FW_LOADER | 42 | select FW_LOADER |
43 | select DVB_PLL | 43 | select DVB_PLL if !DVB_FE_CUSTOMISE |
44 | select DVB_MT352 if !DVB_FE_CUSTOMISE | 44 | select DVB_MT352 if !DVB_FE_CUSTOMISE |
45 | select DVB_TDA1004X if !DVB_FE_CUSTOMISE | 45 | select DVB_TDA1004X if !DVB_FE_CUSTOMISE |
46 | select DVB_NXT200X if !DVB_FE_CUSTOMISE | 46 | select DVB_NXT200X if !DVB_FE_CUSTOMISE |
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index 3a28b4ca42eb..1f6bd3300715 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c | |||
@@ -855,7 +855,7 @@ static int dvb_init(struct saa7134_dev *dev) | |||
855 | &dev->i2c_adap); | 855 | &dev->i2c_adap); |
856 | if (dev->dvb.frontend) { | 856 | if (dev->dvb.frontend) { |
857 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 857 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
858 | NULL, &dvb_pll_philips_td1316); | 858 | NULL, DVB_PLL_PHILIPS_TD1316); |
859 | } | 859 | } |
860 | break; | 860 | break; |
861 | case SAA7134_BOARD_MD7134: | 861 | case SAA7134_BOARD_MD7134: |
@@ -864,7 +864,7 @@ static int dvb_init(struct saa7134_dev *dev) | |||
864 | &dev->i2c_adap); | 864 | &dev->i2c_adap); |
865 | if (dev->dvb.frontend) { | 865 | if (dev->dvb.frontend) { |
866 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, medion_cardbus.tuner_address, | 866 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, medion_cardbus.tuner_address, |
867 | &dev->i2c_adap, &dvb_pll_fmd1216me); | 867 | &dev->i2c_adap, DVB_PLL_FMD1216ME); |
868 | } | 868 | } |
869 | break; | 869 | break; |
870 | case SAA7134_BOARD_PHILIPS_TOUGH: | 870 | case SAA7134_BOARD_PHILIPS_TOUGH: |
@@ -962,7 +962,7 @@ static int dvb_init(struct saa7134_dev *dev) | |||
962 | &dev->i2c_adap); | 962 | &dev->i2c_adap); |
963 | if (dev->dvb.frontend) { | 963 | if (dev->dvb.frontend) { |
964 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 964 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
965 | NULL, &dvb_pll_tdhu2); | 965 | NULL, DVB_PLL_TDHU2); |
966 | } | 966 | } |
967 | break; | 967 | break; |
968 | case SAA7134_BOARD_KWORLD_ATSC110: | 968 | case SAA7134_BOARD_KWORLD_ATSC110: |
@@ -970,7 +970,7 @@ static int dvb_init(struct saa7134_dev *dev) | |||
970 | &dev->i2c_adap); | 970 | &dev->i2c_adap); |
971 | if (dev->dvb.frontend) { | 971 | if (dev->dvb.frontend) { |
972 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 972 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
973 | NULL, &dvb_pll_tuv1236d); | 973 | NULL, DVB_PLL_TUV1236D); |
974 | } | 974 | } |
975 | break; | 975 | break; |
976 | case SAA7134_BOARD_FLYDVBS_LR300: | 976 | case SAA7134_BOARD_FLYDVBS_LR300: |
@@ -995,7 +995,7 @@ static int dvb_init(struct saa7134_dev *dev) | |||
995 | dev->dvb.frontend->ops.sleep = philips_europa_demod_sleep; | 995 | dev->dvb.frontend->ops.sleep = philips_europa_demod_sleep; |
996 | 996 | ||
997 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, medion_cardbus.tuner_address, | 997 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, medion_cardbus.tuner_address, |
998 | &dev->i2c_adap, &dvb_pll_fmd1216me); | 998 | &dev->i2c_adap, DVB_PLL_FMD1216ME); |
999 | } | 999 | } |
1000 | break; | 1000 | break; |
1001 | case SAA7134_BOARD_VIDEOMATE_DVBT_200A: | 1001 | case SAA7134_BOARD_VIDEOMATE_DVBT_200A: |