diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-11-24 04:23:04 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-01-10 07:18:25 -0500 |
commit | a8b19886097032df38bd521cece4bc538fee2266 (patch) | |
tree | 809dcbca521633280190621a70ae799532704fee /arch/blackfin | |
parent | 3ea9f2bf5a3b91ba18af9f25bfc9a32677ea47d8 (diff) |
Blackfin: boards: add missing "static" to peripheral lists
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
26 files changed, 95 insertions, 95 deletions
diff --git a/arch/blackfin/mach-bf518/boards/ezbrd.c b/arch/blackfin/mach-bf518/boards/ezbrd.c index 8d55a8dad7ab..c0ccadcfa44e 100644 --- a/arch/blackfin/mach-bf518/boards/ezbrd.c +++ b/arch/blackfin/mach-bf518/boards/ezbrd.c | |||
@@ -452,7 +452,7 @@ static struct resource bfin_uart0_resources[] = { | |||
452 | }, | 452 | }, |
453 | }; | 453 | }; |
454 | 454 | ||
455 | unsigned short bfin_uart0_peripherals[] = { | 455 | static unsigned short bfin_uart0_peripherals[] = { |
456 | P_UART0_TX, P_UART0_RX, 0 | 456 | P_UART0_TX, P_UART0_RX, 0 |
457 | }; | 457 | }; |
458 | 458 | ||
@@ -495,7 +495,7 @@ static struct resource bfin_uart1_resources[] = { | |||
495 | }, | 495 | }, |
496 | }; | 496 | }; |
497 | 497 | ||
498 | unsigned short bfin_uart1_peripherals[] = { | 498 | static unsigned short bfin_uart1_peripherals[] = { |
499 | P_UART1_TX, P_UART1_RX, 0 | 499 | P_UART1_TX, P_UART1_RX, 0 |
500 | }; | 500 | }; |
501 | 501 | ||
@@ -635,7 +635,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
635 | }, | 635 | }, |
636 | }; | 636 | }; |
637 | 637 | ||
638 | unsigned short bfin_sport0_peripherals[] = { | 638 | static unsigned short bfin_sport0_peripherals[] = { |
639 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 639 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
640 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 640 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
641 | }; | 641 | }; |
@@ -669,7 +669,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
669 | }, | 669 | }, |
670 | }; | 670 | }; |
671 | 671 | ||
672 | unsigned short bfin_sport1_peripherals[] = { | 672 | static unsigned short bfin_sport1_peripherals[] = { |
673 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 673 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
674 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 674 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
675 | }; | 675 | }; |
diff --git a/arch/blackfin/mach-bf518/boards/tcm-bf518.c b/arch/blackfin/mach-bf518/boards/tcm-bf518.c index a5984ddec8c0..50fc5c89e379 100644 --- a/arch/blackfin/mach-bf518/boards/tcm-bf518.c +++ b/arch/blackfin/mach-bf518/boards/tcm-bf518.c | |||
@@ -377,7 +377,7 @@ static struct resource bfin_uart0_resources[] = { | |||
377 | }, | 377 | }, |
378 | }; | 378 | }; |
379 | 379 | ||
380 | unsigned short bfin_uart0_peripherals[] = { | 380 | static unsigned short bfin_uart0_peripherals[] = { |
381 | P_UART0_TX, P_UART0_RX, 0 | 381 | P_UART0_TX, P_UART0_RX, 0 |
382 | }; | 382 | }; |
383 | 383 | ||
@@ -420,7 +420,7 @@ static struct resource bfin_uart1_resources[] = { | |||
420 | }, | 420 | }, |
421 | }; | 421 | }; |
422 | 422 | ||
423 | unsigned short bfin_uart1_peripherals[] = { | 423 | static unsigned short bfin_uart1_peripherals[] = { |
424 | P_UART1_TX, P_UART1_RX, 0 | 424 | P_UART1_TX, P_UART1_RX, 0 |
425 | }; | 425 | }; |
426 | 426 | ||
@@ -547,7 +547,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
547 | }, | 547 | }, |
548 | }; | 548 | }; |
549 | 549 | ||
550 | unsigned short bfin_sport0_peripherals[] = { | 550 | static unsigned short bfin_sport0_peripherals[] = { |
551 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 551 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
552 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 552 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
553 | }; | 553 | }; |
@@ -581,7 +581,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
581 | }, | 581 | }, |
582 | }; | 582 | }; |
583 | 583 | ||
584 | unsigned short bfin_sport1_peripherals[] = { | 584 | static unsigned short bfin_sport1_peripherals[] = { |
585 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 585 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
586 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 586 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
587 | }; | 587 | }; |
diff --git a/arch/blackfin/mach-bf527/boards/ad7160eval.c b/arch/blackfin/mach-bf527/boards/ad7160eval.c index 43dbaa00ba43..ccab4c689dc3 100644 --- a/arch/blackfin/mach-bf527/boards/ad7160eval.c +++ b/arch/blackfin/mach-bf527/boards/ad7160eval.c | |||
@@ -420,7 +420,7 @@ static struct resource bfin_uart0_resources[] = { | |||
420 | }, | 420 | }, |
421 | }; | 421 | }; |
422 | 422 | ||
423 | unsigned short bfin_uart0_peripherals[] = { | 423 | static unsigned short bfin_uart0_peripherals[] = { |
424 | P_UART0_TX, P_UART0_RX, 0 | 424 | P_UART0_TX, P_UART0_RX, 0 |
425 | }; | 425 | }; |
426 | 426 | ||
@@ -475,7 +475,7 @@ static struct resource bfin_uart1_resources[] = { | |||
475 | #endif | 475 | #endif |
476 | }; | 476 | }; |
477 | 477 | ||
478 | unsigned short bfin_uart1_peripherals[] = { | 478 | static unsigned short bfin_uart1_peripherals[] = { |
479 | P_UART1_TX, P_UART1_RX, 0 | 479 | P_UART1_TX, P_UART1_RX, 0 |
480 | }; | 480 | }; |
481 | 481 | ||
@@ -628,7 +628,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
628 | }, | 628 | }, |
629 | }; | 629 | }; |
630 | 630 | ||
631 | unsigned short bfin_sport0_peripherals[] = { | 631 | static unsigned short bfin_sport0_peripherals[] = { |
632 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 632 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
633 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 633 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
634 | }; | 634 | }; |
@@ -662,7 +662,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
662 | }, | 662 | }, |
663 | }; | 663 | }; |
664 | 664 | ||
665 | unsigned short bfin_sport1_peripherals[] = { | 665 | static unsigned short bfin_sport1_peripherals[] = { |
666 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 666 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
667 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 667 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
668 | }; | 668 | }; |
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c index 17313ee27aad..c9d6dc88f0e6 100644 --- a/arch/blackfin/mach-bf527/boards/cm_bf527.c +++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c | |||
@@ -615,7 +615,7 @@ static struct resource bfin_uart0_resources[] = { | |||
615 | }, | 615 | }, |
616 | }; | 616 | }; |
617 | 617 | ||
618 | unsigned short bfin_uart0_peripherals[] = { | 618 | static unsigned short bfin_uart0_peripherals[] = { |
619 | P_UART0_TX, P_UART0_RX, 0 | 619 | P_UART0_TX, P_UART0_RX, 0 |
620 | }; | 620 | }; |
621 | 621 | ||
@@ -670,7 +670,7 @@ static struct resource bfin_uart1_resources[] = { | |||
670 | #endif | 670 | #endif |
671 | }; | 671 | }; |
672 | 672 | ||
673 | unsigned short bfin_uart1_peripherals[] = { | 673 | static unsigned short bfin_uart1_peripherals[] = { |
674 | P_UART1_TX, P_UART1_RX, 0 | 674 | P_UART1_TX, P_UART1_RX, 0 |
675 | }; | 675 | }; |
676 | 676 | ||
@@ -802,7 +802,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
802 | }, | 802 | }, |
803 | }; | 803 | }; |
804 | 804 | ||
805 | unsigned short bfin_sport0_peripherals[] = { | 805 | static unsigned short bfin_sport0_peripherals[] = { |
806 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 806 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
807 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 807 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
808 | }; | 808 | }; |
@@ -836,7 +836,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
836 | }, | 836 | }, |
837 | }; | 837 | }; |
838 | 838 | ||
839 | unsigned short bfin_sport1_peripherals[] = { | 839 | static unsigned short bfin_sport1_peripherals[] = { |
840 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 840 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
841 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 841 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
842 | }; | 842 | }; |
diff --git a/arch/blackfin/mach-bf527/boards/ezbrd.c b/arch/blackfin/mach-bf527/boards/ezbrd.c index 57f9b5e13f52..b7101aa6e3aa 100644 --- a/arch/blackfin/mach-bf527/boards/ezbrd.c +++ b/arch/blackfin/mach-bf527/boards/ezbrd.c | |||
@@ -500,7 +500,7 @@ static struct resource bfin_uart0_resources[] = { | |||
500 | }, | 500 | }, |
501 | }; | 501 | }; |
502 | 502 | ||
503 | unsigned short bfin_uart0_peripherals[] = { | 503 | static unsigned short bfin_uart0_peripherals[] = { |
504 | P_UART0_TX, P_UART0_RX, 0 | 504 | P_UART0_TX, P_UART0_RX, 0 |
505 | }; | 505 | }; |
506 | 506 | ||
@@ -555,7 +555,7 @@ static struct resource bfin_uart1_resources[] = { | |||
555 | #endif | 555 | #endif |
556 | }; | 556 | }; |
557 | 557 | ||
558 | unsigned short bfin_uart1_peripherals[] = { | 558 | static unsigned short bfin_uart1_peripherals[] = { |
559 | P_UART1_TX, P_UART1_RX, 0 | 559 | P_UART1_TX, P_UART1_RX, 0 |
560 | }; | 560 | }; |
561 | 561 | ||
@@ -682,7 +682,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
682 | }, | 682 | }, |
683 | }; | 683 | }; |
684 | 684 | ||
685 | unsigned short bfin_sport0_peripherals[] = { | 685 | static unsigned short bfin_sport0_peripherals[] = { |
686 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 686 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
687 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 687 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
688 | }; | 688 | }; |
@@ -716,7 +716,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
716 | }, | 716 | }, |
717 | }; | 717 | }; |
718 | 718 | ||
719 | unsigned short bfin_sport1_peripherals[] = { | 719 | static unsigned short bfin_sport1_peripherals[] = { |
720 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 720 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
721 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 721 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
722 | }; | 722 | }; |
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index bf5cebfb4838..2cd2ff6f3043 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c | |||
@@ -709,7 +709,7 @@ static struct resource bfin_uart0_resources[] = { | |||
709 | }, | 709 | }, |
710 | }; | 710 | }; |
711 | 711 | ||
712 | unsigned short bfin_uart0_peripherals[] = { | 712 | static unsigned short bfin_uart0_peripherals[] = { |
713 | P_UART0_TX, P_UART0_RX, 0 | 713 | P_UART0_TX, P_UART0_RX, 0 |
714 | }; | 714 | }; |
715 | 715 | ||
@@ -764,7 +764,7 @@ static struct resource bfin_uart1_resources[] = { | |||
764 | #endif | 764 | #endif |
765 | }; | 765 | }; |
766 | 766 | ||
767 | unsigned short bfin_uart1_peripherals[] = { | 767 | static unsigned short bfin_uart1_peripherals[] = { |
768 | P_UART1_TX, P_UART1_RX, 0 | 768 | P_UART1_TX, P_UART1_RX, 0 |
769 | }; | 769 | }; |
770 | 770 | ||
@@ -990,7 +990,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
990 | }, | 990 | }, |
991 | }; | 991 | }; |
992 | 992 | ||
993 | unsigned short bfin_sport0_peripherals[] = { | 993 | static unsigned short bfin_sport0_peripherals[] = { |
994 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 994 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
995 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 995 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
996 | }; | 996 | }; |
@@ -1024,7 +1024,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
1024 | }, | 1024 | }, |
1025 | }; | 1025 | }; |
1026 | 1026 | ||
1027 | unsigned short bfin_sport1_peripherals[] = { | 1027 | static unsigned short bfin_sport1_peripherals[] = { |
1028 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 1028 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
1029 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 1029 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
1030 | }; | 1030 | }; |
diff --git a/arch/blackfin/mach-bf527/boards/tll6527m.c b/arch/blackfin/mach-bf527/boards/tll6527m.c index d542e803213b..18d303dd5627 100644 --- a/arch/blackfin/mach-bf527/boards/tll6527m.c +++ b/arch/blackfin/mach-bf527/boards/tll6527m.c | |||
@@ -586,7 +586,7 @@ static struct resource bfin_uart0_resources[] = { | |||
586 | }, | 586 | }, |
587 | }; | 587 | }; |
588 | 588 | ||
589 | unsigned short bfin_uart0_peripherals[] = { | 589 | static unsigned short bfin_uart0_peripherals[] = { |
590 | P_UART0_TX, P_UART0_RX, 0 | 590 | P_UART0_TX, P_UART0_RX, 0 |
591 | }; | 591 | }; |
592 | 592 | ||
@@ -642,7 +642,7 @@ static struct resource bfin_uart1_resources[] = { | |||
642 | #endif | 642 | #endif |
643 | }; | 643 | }; |
644 | 644 | ||
645 | unsigned short bfin_uart1_peripherals[] = { | 645 | static unsigned short bfin_uart1_peripherals[] = { |
646 | P_UART1_TX, P_UART1_RX, 0 | 646 | P_UART1_TX, P_UART1_RX, 0 |
647 | }; | 647 | }; |
648 | 648 | ||
@@ -799,7 +799,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
799 | }, | 799 | }, |
800 | }; | 800 | }; |
801 | 801 | ||
802 | unsigned short bfin_sport0_peripherals[] = { | 802 | static unsigned short bfin_sport0_peripherals[] = { |
803 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 803 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
804 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 804 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
805 | }; | 805 | }; |
@@ -834,7 +834,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
834 | }, | 834 | }, |
835 | }; | 835 | }; |
836 | 836 | ||
837 | unsigned short bfin_sport1_peripherals[] = { | 837 | static unsigned short bfin_sport1_peripherals[] = { |
838 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 838 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
839 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 839 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
840 | }; | 840 | }; |
diff --git a/arch/blackfin/mach-bf533/boards/H8606.c b/arch/blackfin/mach-bf533/boards/H8606.c index 2ce7b16faee1..d4bfcea56828 100644 --- a/arch/blackfin/mach-bf533/boards/H8606.c +++ b/arch/blackfin/mach-bf533/boards/H8606.c | |||
@@ -286,7 +286,7 @@ static struct resource bfin_uart0_resources[] = { | |||
286 | }, | 286 | }, |
287 | }; | 287 | }; |
288 | 288 | ||
289 | unsigned short bfin_uart0_peripherals[] = { | 289 | static unsigned short bfin_uart0_peripherals[] = { |
290 | P_UART0_TX, P_UART0_RX, 0 | 290 | P_UART0_TX, P_UART0_RX, 0 |
291 | }; | 291 | }; |
292 | 292 | ||
diff --git a/arch/blackfin/mach-bf533/boards/blackstamp.c b/arch/blackfin/mach-bf533/boards/blackstamp.c index 44241cf470b1..87b5af3693c1 100644 --- a/arch/blackfin/mach-bf533/boards/blackstamp.c +++ b/arch/blackfin/mach-bf533/boards/blackstamp.c | |||
@@ -224,7 +224,7 @@ static struct resource bfin_uart0_resources[] = { | |||
224 | }, | 224 | }, |
225 | }; | 225 | }; |
226 | 226 | ||
227 | unsigned short bfin_uart0_peripherals[] = { | 227 | static unsigned short bfin_uart0_peripherals[] = { |
228 | P_UART0_TX, P_UART0_RX, 0 | 228 | P_UART0_TX, P_UART0_RX, 0 |
229 | }; | 229 | }; |
230 | 230 | ||
@@ -289,7 +289,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
289 | }, | 289 | }, |
290 | }; | 290 | }; |
291 | 291 | ||
292 | unsigned short bfin_sport0_peripherals[] = { | 292 | static unsigned short bfin_sport0_peripherals[] = { |
293 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 293 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
294 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 294 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
295 | }; | 295 | }; |
@@ -323,7 +323,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
323 | }, | 323 | }, |
324 | }; | 324 | }; |
325 | 325 | ||
326 | unsigned short bfin_sport1_peripherals[] = { | 326 | static unsigned short bfin_sport1_peripherals[] = { |
327 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 327 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
328 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 328 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
329 | }; | 329 | }; |
diff --git a/arch/blackfin/mach-bf533/boards/cm_bf533.c b/arch/blackfin/mach-bf533/boards/cm_bf533.c index 34d0ef49ee9b..4d5604eaa7c2 100644 --- a/arch/blackfin/mach-bf533/boards/cm_bf533.c +++ b/arch/blackfin/mach-bf533/boards/cm_bf533.c | |||
@@ -271,7 +271,7 @@ static struct resource bfin_uart0_resources[] = { | |||
271 | }, | 271 | }, |
272 | }; | 272 | }; |
273 | 273 | ||
274 | unsigned short bfin_uart0_peripherals[] = { | 274 | static unsigned short bfin_uart0_peripherals[] = { |
275 | P_UART0_TX, P_UART0_RX, 0 | 275 | P_UART0_TX, P_UART0_RX, 0 |
276 | }; | 276 | }; |
277 | 277 | ||
@@ -336,7 +336,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
336 | }, | 336 | }, |
337 | }; | 337 | }; |
338 | 338 | ||
339 | unsigned short bfin_sport0_peripherals[] = { | 339 | static unsigned short bfin_sport0_peripherals[] = { |
340 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 340 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
341 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 341 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
342 | }; | 342 | }; |
@@ -370,7 +370,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
370 | }, | 370 | }, |
371 | }; | 371 | }; |
372 | 372 | ||
373 | unsigned short bfin_sport1_peripherals[] = { | 373 | static unsigned short bfin_sport1_peripherals[] = { |
374 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 374 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
375 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 375 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
376 | }; | 376 | }; |
diff --git a/arch/blackfin/mach-bf533/boards/ezkit.c b/arch/blackfin/mach-bf533/boards/ezkit.c index a1cb8e7c1010..b67b91d82242 100644 --- a/arch/blackfin/mach-bf533/boards/ezkit.c +++ b/arch/blackfin/mach-bf533/boards/ezkit.c | |||
@@ -349,7 +349,7 @@ static struct resource bfin_uart0_resources[] = { | |||
349 | }, | 349 | }, |
350 | }; | 350 | }; |
351 | 351 | ||
352 | unsigned short bfin_uart0_peripherals[] = { | 352 | static unsigned short bfin_uart0_peripherals[] = { |
353 | P_UART0_TX, P_UART0_RX, 0 | 353 | P_UART0_TX, P_UART0_RX, 0 |
354 | }; | 354 | }; |
355 | 355 | ||
diff --git a/arch/blackfin/mach-bf533/boards/ip0x.c b/arch/blackfin/mach-bf533/boards/ip0x.c index 631f0516e465..f869a3711480 100644 --- a/arch/blackfin/mach-bf533/boards/ip0x.c +++ b/arch/blackfin/mach-bf533/boards/ip0x.c | |||
@@ -173,7 +173,7 @@ static struct resource bfin_uart0_resources[] = { | |||
173 | }, | 173 | }, |
174 | }; | 174 | }; |
175 | 175 | ||
176 | unsigned short bfin_uart0_peripherals[] = { | 176 | static unsigned short bfin_uart0_peripherals[] = { |
177 | P_UART0_TX, P_UART0_RX, 0 | 177 | P_UART0_TX, P_UART0_RX, 0 |
178 | }; | 178 | }; |
179 | 179 | ||
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c index b44c6c25fded..43224ef00b8c 100644 --- a/arch/blackfin/mach-bf533/boards/stamp.c +++ b/arch/blackfin/mach-bf533/boards/stamp.c | |||
@@ -353,7 +353,7 @@ static struct resource bfin_uart0_resources[] = { | |||
353 | }, | 353 | }, |
354 | }; | 354 | }; |
355 | 355 | ||
356 | unsigned short bfin_uart0_peripherals[] = { | 356 | static unsigned short bfin_uart0_peripherals[] = { |
357 | P_UART0_TX, P_UART0_RX, 0 | 357 | P_UART0_TX, P_UART0_RX, 0 |
358 | }; | 358 | }; |
359 | 359 | ||
@@ -418,7 +418,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
418 | }, | 418 | }, |
419 | }; | 419 | }; |
420 | 420 | ||
421 | unsigned short bfin_sport0_peripherals[] = { | 421 | static unsigned short bfin_sport0_peripherals[] = { |
422 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 422 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
423 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 423 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
424 | }; | 424 | }; |
@@ -452,7 +452,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
452 | }, | 452 | }, |
453 | }; | 453 | }; |
454 | 454 | ||
455 | unsigned short bfin_sport1_peripherals[] = { | 455 | static unsigned short bfin_sport1_peripherals[] = { |
456 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 456 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
457 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 457 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
458 | }; | 458 | }; |
diff --git a/arch/blackfin/mach-bf537/boards/cm_bf537e.c b/arch/blackfin/mach-bf537/boards/cm_bf537e.c index d94515883bd7..2c776e188a94 100644 --- a/arch/blackfin/mach-bf537/boards/cm_bf537e.c +++ b/arch/blackfin/mach-bf537/boards/cm_bf537e.c | |||
@@ -373,7 +373,7 @@ static struct resource bfin_uart0_resources[] = { | |||
373 | #endif | 373 | #endif |
374 | }; | 374 | }; |
375 | 375 | ||
376 | unsigned short bfin_uart0_peripherals[] = { | 376 | static unsigned short bfin_uart0_peripherals[] = { |
377 | P_UART0_TX, P_UART0_RX, 0 | 377 | P_UART0_TX, P_UART0_RX, 0 |
378 | }; | 378 | }; |
379 | 379 | ||
@@ -434,7 +434,7 @@ static struct resource bfin_uart1_resources[] = { | |||
434 | #endif | 434 | #endif |
435 | }; | 435 | }; |
436 | 436 | ||
437 | unsigned short bfin_uart1_peripherals[] = { | 437 | static unsigned short bfin_uart1_peripherals[] = { |
438 | P_UART1_TX, P_UART1_RX, 0 | 438 | P_UART1_TX, P_UART1_RX, 0 |
439 | }; | 439 | }; |
440 | 440 | ||
@@ -545,7 +545,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
545 | }, | 545 | }, |
546 | }; | 546 | }; |
547 | 547 | ||
548 | unsigned short bfin_sport0_peripherals[] = { | 548 | static unsigned short bfin_sport0_peripherals[] = { |
549 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 549 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
550 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 550 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
551 | }; | 551 | }; |
@@ -579,7 +579,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
579 | }, | 579 | }, |
580 | }; | 580 | }; |
581 | 581 | ||
582 | unsigned short bfin_sport1_peripherals[] = { | 582 | static unsigned short bfin_sport1_peripherals[] = { |
583 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 583 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
584 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 584 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
585 | }; | 585 | }; |
diff --git a/arch/blackfin/mach-bf537/boards/cm_bf537u.c b/arch/blackfin/mach-bf537/boards/cm_bf537u.c index a79b76827d27..085661175ec7 100644 --- a/arch/blackfin/mach-bf537/boards/cm_bf537u.c +++ b/arch/blackfin/mach-bf537/boards/cm_bf537u.c | |||
@@ -356,7 +356,7 @@ static struct resource bfin_uart0_resources[] = { | |||
356 | }, | 356 | }, |
357 | }; | 357 | }; |
358 | 358 | ||
359 | unsigned short bfin_uart0_peripherals[] = { | 359 | static unsigned short bfin_uart0_peripherals[] = { |
360 | P_UART0_TX, P_UART0_RX, 0 | 360 | P_UART0_TX, P_UART0_RX, 0 |
361 | }; | 361 | }; |
362 | 362 | ||
@@ -399,7 +399,7 @@ static struct resource bfin_uart1_resources[] = { | |||
399 | }, | 399 | }, |
400 | }; | 400 | }; |
401 | 401 | ||
402 | unsigned short bfin_uart1_peripherals[] = { | 402 | static unsigned short bfin_uart1_peripherals[] = { |
403 | P_UART1_TX, P_UART1_RX, 0 | 403 | P_UART1_TX, P_UART1_RX, 0 |
404 | }; | 404 | }; |
405 | 405 | ||
@@ -510,7 +510,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
510 | }, | 510 | }, |
511 | }; | 511 | }; |
512 | 512 | ||
513 | unsigned short bfin_sport0_peripherals[] = { | 513 | static unsigned short bfin_sport0_peripherals[] = { |
514 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 514 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
515 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 515 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
516 | }; | 516 | }; |
@@ -544,7 +544,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
544 | }, | 544 | }, |
545 | }; | 545 | }; |
546 | 546 | ||
547 | unsigned short bfin_sport1_peripherals[] = { | 547 | static unsigned short bfin_sport1_peripherals[] = { |
548 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 548 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
549 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 549 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
550 | }; | 550 | }; |
diff --git a/arch/blackfin/mach-bf537/boards/minotaur.c b/arch/blackfin/mach-bf537/boards/minotaur.c index f3c3d12b2ff0..bfb3671a78da 100644 --- a/arch/blackfin/mach-bf537/boards/minotaur.c +++ b/arch/blackfin/mach-bf537/boards/minotaur.c | |||
@@ -263,7 +263,7 @@ static struct resource bfin_uart0_resources[] = { | |||
263 | }, | 263 | }, |
264 | }; | 264 | }; |
265 | 265 | ||
266 | unsigned short bfin_uart0_peripherals[] = { | 266 | static unsigned short bfin_uart0_peripherals[] = { |
267 | P_UART0_TX, P_UART0_RX, 0 | 267 | P_UART0_TX, P_UART0_RX, 0 |
268 | }; | 268 | }; |
269 | 269 | ||
@@ -306,7 +306,7 @@ static struct resource bfin_uart1_resources[] = { | |||
306 | }, | 306 | }, |
307 | }; | 307 | }; |
308 | 308 | ||
309 | unsigned short bfin_uart1_peripherals[] = { | 309 | static unsigned short bfin_uart1_peripherals[] = { |
310 | P_UART1_TX, P_UART1_RX, 0 | 310 | P_UART1_TX, P_UART1_RX, 0 |
311 | }; | 311 | }; |
312 | 312 | ||
@@ -419,7 +419,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
419 | }, | 419 | }, |
420 | }; | 420 | }; |
421 | 421 | ||
422 | unsigned short bfin_sport0_peripherals[] = { | 422 | static unsigned short bfin_sport0_peripherals[] = { |
423 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 423 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
424 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 424 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
425 | }; | 425 | }; |
@@ -453,7 +453,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
453 | }, | 453 | }, |
454 | }; | 454 | }; |
455 | 455 | ||
456 | unsigned short bfin_sport1_peripherals[] = { | 456 | static unsigned short bfin_sport1_peripherals[] = { |
457 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 457 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
458 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 458 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
459 | }; | 459 | }; |
diff --git a/arch/blackfin/mach-bf537/boards/pnav10.c b/arch/blackfin/mach-bf537/boards/pnav10.c index b95807894e25..9389f03e3b0a 100644 --- a/arch/blackfin/mach-bf537/boards/pnav10.c +++ b/arch/blackfin/mach-bf537/boards/pnav10.c | |||
@@ -367,7 +367,7 @@ static struct resource bfin_uart0_resources[] = { | |||
367 | }, | 367 | }, |
368 | }; | 368 | }; |
369 | 369 | ||
370 | unsigned short bfin_uart0_peripherals[] = { | 370 | static unsigned short bfin_uart0_peripherals[] = { |
371 | P_UART0_TX, P_UART0_RX, 0 | 371 | P_UART0_TX, P_UART0_RX, 0 |
372 | }; | 372 | }; |
373 | 373 | ||
@@ -410,7 +410,7 @@ static struct resource bfin_uart1_resources[] = { | |||
410 | }, | 410 | }, |
411 | }; | 411 | }; |
412 | 412 | ||
413 | unsigned short bfin_uart1_peripherals[] = { | 413 | static unsigned short bfin_uart1_peripherals[] = { |
414 | P_UART1_TX, P_UART1_RX, 0 | 414 | P_UART1_TX, P_UART1_RX, 0 |
415 | }; | 415 | }; |
416 | 416 | ||
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 243aa8a087f5..2c69785a7bbe 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -289,7 +289,7 @@ static struct platform_device isp1362_hcd_device = { | |||
289 | #endif | 289 | #endif |
290 | 290 | ||
291 | #if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE) | 291 | #if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE) |
292 | unsigned short bfin_can_peripherals[] = { | 292 | static unsigned short bfin_can_peripherals[] = { |
293 | P_CAN0_RX, P_CAN0_TX, 0 | 293 | P_CAN0_RX, P_CAN0_TX, 0 |
294 | }; | 294 | }; |
295 | 295 | ||
@@ -693,7 +693,7 @@ static struct bfin5xx_spi_chip ad2s90_spi_chip_info = { | |||
693 | #endif | 693 | #endif |
694 | 694 | ||
695 | #if defined(CONFIG_AD2S120X) || defined(CONFIG_AD2S120X_MODULE) | 695 | #if defined(CONFIG_AD2S120X) || defined(CONFIG_AD2S120X_MODULE) |
696 | unsigned short ad2s120x_platform_data[] = { | 696 | static unsigned short ad2s120x_platform_data[] = { |
697 | /* used as SAMPLE and RDVEL */ | 697 | /* used as SAMPLE and RDVEL */ |
698 | GPIO_PF5, GPIO_PF6, 0 | 698 | GPIO_PF5, GPIO_PF6, 0 |
699 | }; | 699 | }; |
@@ -705,7 +705,7 @@ static struct bfin5xx_spi_chip ad2s120x_spi_chip_info = { | |||
705 | #endif | 705 | #endif |
706 | 706 | ||
707 | #if defined(CONFIG_AD2S1210) || defined(CONFIG_AD2S1210_MODULE) | 707 | #if defined(CONFIG_AD2S1210) || defined(CONFIG_AD2S1210_MODULE) |
708 | unsigned short ad2s1210_platform_data[] = { | 708 | static unsigned short ad2s1210_platform_data[] = { |
709 | /* use as SAMPLE, A0, A1 */ | 709 | /* use as SAMPLE, A0, A1 */ |
710 | GPIO_PF7, GPIO_PF8, GPIO_PF9, | 710 | GPIO_PF7, GPIO_PF8, GPIO_PF9, |
711 | # if defined(CONFIG_AD2S1210_GPIO_INPUT) || defined(CONFIG_AD2S1210_GPIO_OUTPUT) | 711 | # if defined(CONFIG_AD2S1210_GPIO_INPUT) || defined(CONFIG_AD2S1210_GPIO_OUTPUT) |
@@ -1717,7 +1717,7 @@ static struct resource bfin_uart0_resources[] = { | |||
1717 | #endif | 1717 | #endif |
1718 | }; | 1718 | }; |
1719 | 1719 | ||
1720 | unsigned short bfin_uart0_peripherals[] = { | 1720 | static unsigned short bfin_uart0_peripherals[] = { |
1721 | P_UART0_TX, P_UART0_RX, 0 | 1721 | P_UART0_TX, P_UART0_RX, 0 |
1722 | }; | 1722 | }; |
1723 | 1723 | ||
@@ -1760,7 +1760,7 @@ static struct resource bfin_uart1_resources[] = { | |||
1760 | }, | 1760 | }, |
1761 | }; | 1761 | }; |
1762 | 1762 | ||
1763 | unsigned short bfin_uart1_peripherals[] = { | 1763 | static unsigned short bfin_uart1_peripherals[] = { |
1764 | P_UART1_TX, P_UART1_RX, 0 | 1764 | P_UART1_TX, P_UART1_RX, 0 |
1765 | }; | 1765 | }; |
1766 | 1766 | ||
@@ -2447,7 +2447,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
2447 | }, | 2447 | }, |
2448 | }; | 2448 | }; |
2449 | 2449 | ||
2450 | unsigned short bfin_sport0_peripherals[] = { | 2450 | static unsigned short bfin_sport0_peripherals[] = { |
2451 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 2451 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
2452 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 2452 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
2453 | }; | 2453 | }; |
@@ -2481,7 +2481,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
2481 | }, | 2481 | }, |
2482 | }; | 2482 | }; |
2483 | 2483 | ||
2484 | unsigned short bfin_sport1_peripherals[] = { | 2484 | static unsigned short bfin_sport1_peripherals[] = { |
2485 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 2485 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
2486 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 2486 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
2487 | }; | 2487 | }; |
diff --git a/arch/blackfin/mach-bf537/boards/tcm_bf537.c b/arch/blackfin/mach-bf537/boards/tcm_bf537.c index 8235eed94d53..0761b201abca 100644 --- a/arch/blackfin/mach-bf537/boards/tcm_bf537.c +++ b/arch/blackfin/mach-bf537/boards/tcm_bf537.c | |||
@@ -356,7 +356,7 @@ static struct resource bfin_uart0_resources[] = { | |||
356 | }, | 356 | }, |
357 | }; | 357 | }; |
358 | 358 | ||
359 | unsigned short bfin_uart0_peripherals[] = { | 359 | static unsigned short bfin_uart0_peripherals[] = { |
360 | P_UART0_TX, P_UART0_RX, 0 | 360 | P_UART0_TX, P_UART0_RX, 0 |
361 | }; | 361 | }; |
362 | 362 | ||
@@ -399,7 +399,7 @@ static struct resource bfin_uart1_resources[] = { | |||
399 | }, | 399 | }, |
400 | }; | 400 | }; |
401 | 401 | ||
402 | unsigned short bfin_uart1_peripherals[] = { | 402 | static unsigned short bfin_uart1_peripherals[] = { |
403 | P_UART1_TX, P_UART1_RX, 0 | 403 | P_UART1_TX, P_UART1_RX, 0 |
404 | }; | 404 | }; |
405 | 405 | ||
@@ -512,7 +512,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
512 | }, | 512 | }, |
513 | }; | 513 | }; |
514 | 514 | ||
515 | unsigned short bfin_sport0_peripherals[] = { | 515 | static unsigned short bfin_sport0_peripherals[] = { |
516 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 516 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
517 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 517 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
518 | }; | 518 | }; |
@@ -546,7 +546,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
546 | }, | 546 | }, |
547 | }; | 547 | }; |
548 | 548 | ||
549 | unsigned short bfin_sport1_peripherals[] = { | 549 | static unsigned short bfin_sport1_peripherals[] = { |
550 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 550 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
551 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 551 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
552 | }; | 552 | }; |
diff --git a/arch/blackfin/mach-bf538/boards/ezkit.c b/arch/blackfin/mach-bf538/boards/ezkit.c index 880284b5f9e6..e61424ef35eb 100644 --- a/arch/blackfin/mach-bf538/boards/ezkit.c +++ b/arch/blackfin/mach-bf538/boards/ezkit.c | |||
@@ -82,7 +82,7 @@ static struct resource bfin_uart0_resources[] = { | |||
82 | #endif | 82 | #endif |
83 | }; | 83 | }; |
84 | 84 | ||
85 | unsigned short bfin_uart0_peripherals[] = { | 85 | static unsigned short bfin_uart0_peripherals[] = { |
86 | P_UART0_TX, P_UART0_RX, 0 | 86 | P_UART0_TX, P_UART0_RX, 0 |
87 | }; | 87 | }; |
88 | 88 | ||
@@ -125,7 +125,7 @@ static struct resource bfin_uart1_resources[] = { | |||
125 | }, | 125 | }, |
126 | }; | 126 | }; |
127 | 127 | ||
128 | unsigned short bfin_uart1_peripherals[] = { | 128 | static unsigned short bfin_uart1_peripherals[] = { |
129 | P_UART1_TX, P_UART1_RX, 0 | 129 | P_UART1_TX, P_UART1_RX, 0 |
130 | }; | 130 | }; |
131 | 131 | ||
@@ -168,7 +168,7 @@ static struct resource bfin_uart2_resources[] = { | |||
168 | }, | 168 | }, |
169 | }; | 169 | }; |
170 | 170 | ||
171 | unsigned short bfin_uart2_peripherals[] = { | 171 | static unsigned short bfin_uart2_peripherals[] = { |
172 | P_UART2_TX, P_UART2_RX, 0 | 172 | P_UART2_TX, P_UART2_RX, 0 |
173 | }; | 173 | }; |
174 | 174 | ||
@@ -282,7 +282,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
282 | }, | 282 | }, |
283 | }; | 283 | }; |
284 | 284 | ||
285 | unsigned short bfin_sport0_peripherals[] = { | 285 | static unsigned short bfin_sport0_peripherals[] = { |
286 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 286 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
287 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 287 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
288 | }; | 288 | }; |
@@ -316,7 +316,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
316 | }, | 316 | }, |
317 | }; | 317 | }; |
318 | 318 | ||
319 | unsigned short bfin_sport1_peripherals[] = { | 319 | static unsigned short bfin_sport1_peripherals[] = { |
320 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 320 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
321 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 321 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
322 | }; | 322 | }; |
@@ -350,7 +350,7 @@ static struct resource bfin_sport2_uart_resources[] = { | |||
350 | }, | 350 | }, |
351 | }; | 351 | }; |
352 | 352 | ||
353 | unsigned short bfin_sport2_peripherals[] = { | 353 | static unsigned short bfin_sport2_peripherals[] = { |
354 | P_SPORT2_TFS, P_SPORT2_DTPRI, P_SPORT2_TSCLK, P_SPORT2_RFS, | 354 | P_SPORT2_TFS, P_SPORT2_DTPRI, P_SPORT2_TSCLK, P_SPORT2_RFS, |
355 | P_SPORT2_DRPRI, P_SPORT2_RSCLK, P_SPORT2_DRSEC, P_SPORT2_DTSEC, 0 | 355 | P_SPORT2_DRPRI, P_SPORT2_RSCLK, P_SPORT2_DRSEC, P_SPORT2_DTSEC, 0 |
356 | }; | 356 | }; |
@@ -384,7 +384,7 @@ static struct resource bfin_sport3_uart_resources[] = { | |||
384 | }, | 384 | }, |
385 | }; | 385 | }; |
386 | 386 | ||
387 | unsigned short bfin_sport3_peripherals[] = { | 387 | static unsigned short bfin_sport3_peripherals[] = { |
388 | P_SPORT3_TFS, P_SPORT3_DTPRI, P_SPORT3_TSCLK, P_SPORT3_RFS, | 388 | P_SPORT3_TFS, P_SPORT3_DTPRI, P_SPORT3_TSCLK, P_SPORT3_RFS, |
389 | P_SPORT3_DRPRI, P_SPORT3_RSCLK, P_SPORT3_DRSEC, P_SPORT3_DTSEC, 0 | 389 | P_SPORT3_DRPRI, P_SPORT3_RSCLK, P_SPORT3_DRSEC, P_SPORT3_DTSEC, 0 |
390 | }; | 390 | }; |
@@ -402,7 +402,7 @@ static struct platform_device bfin_sport3_uart_device = { | |||
402 | #endif | 402 | #endif |
403 | 403 | ||
404 | #if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE) | 404 | #if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE) |
405 | unsigned short bfin_can_peripherals[] = { | 405 | static unsigned short bfin_can_peripherals[] = { |
406 | P_CAN0_RX, P_CAN0_TX, 0 | 406 | P_CAN0_RX, P_CAN0_TX, 0 |
407 | }; | 407 | }; |
408 | 408 | ||
diff --git a/arch/blackfin/mach-bf548/boards/cm_bf548.c b/arch/blackfin/mach-bf548/boards/cm_bf548.c index 041afd8c90dc..d11502ac5623 100644 --- a/arch/blackfin/mach-bf548/boards/cm_bf548.c +++ b/arch/blackfin/mach-bf548/boards/cm_bf548.c | |||
@@ -156,7 +156,7 @@ static struct resource bfin_uart0_resources[] = { | |||
156 | }, | 156 | }, |
157 | }; | 157 | }; |
158 | 158 | ||
159 | unsigned short bfin_uart0_peripherals[] = { | 159 | static unsigned short bfin_uart0_peripherals[] = { |
160 | P_UART0_TX, P_UART0_RX, 0 | 160 | P_UART0_TX, P_UART0_RX, 0 |
161 | }; | 161 | }; |
162 | 162 | ||
@@ -211,7 +211,7 @@ static struct resource bfin_uart1_resources[] = { | |||
211 | #endif | 211 | #endif |
212 | }; | 212 | }; |
213 | 213 | ||
214 | unsigned short bfin_uart1_peripherals[] = { | 214 | static unsigned short bfin_uart1_peripherals[] = { |
215 | P_UART1_TX, P_UART1_RX, | 215 | P_UART1_TX, P_UART1_RX, |
216 | #ifdef CONFIG_BFIN_UART1_CTSRTS | 216 | #ifdef CONFIG_BFIN_UART1_CTSRTS |
217 | P_UART1_RTS, P_UART1_CTS, | 217 | P_UART1_RTS, P_UART1_CTS, |
@@ -258,7 +258,7 @@ static struct resource bfin_uart2_resources[] = { | |||
258 | }, | 258 | }, |
259 | }; | 259 | }; |
260 | 260 | ||
261 | unsigned short bfin_uart2_peripherals[] = { | 261 | static unsigned short bfin_uart2_peripherals[] = { |
262 | P_UART2_TX, P_UART2_RX, 0 | 262 | P_UART2_TX, P_UART2_RX, 0 |
263 | }; | 263 | }; |
264 | 264 | ||
@@ -313,7 +313,7 @@ static struct resource bfin_uart3_resources[] = { | |||
313 | #endif | 313 | #endif |
314 | }; | 314 | }; |
315 | 315 | ||
316 | unsigned short bfin_uart3_peripherals[] = { | 316 | static unsigned short bfin_uart3_peripherals[] = { |
317 | P_UART3_TX, P_UART3_RX, | 317 | P_UART3_TX, P_UART3_RX, |
318 | #ifdef CONFIG_BFIN_UART3_CTSRTS | 318 | #ifdef CONFIG_BFIN_UART3_CTSRTS |
319 | P_UART3_RTS, P_UART3_CTS, | 319 | P_UART3_RTS, P_UART3_CTS, |
@@ -553,7 +553,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
553 | }, | 553 | }, |
554 | }; | 554 | }; |
555 | 555 | ||
556 | unsigned short bfin_sport0_peripherals[] = { | 556 | static unsigned short bfin_sport0_peripherals[] = { |
557 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 557 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
558 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 558 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
559 | }; | 559 | }; |
@@ -587,7 +587,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
587 | }, | 587 | }, |
588 | }; | 588 | }; |
589 | 589 | ||
590 | unsigned short bfin_sport1_peripherals[] = { | 590 | static unsigned short bfin_sport1_peripherals[] = { |
591 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 591 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
592 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 592 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
593 | }; | 593 | }; |
@@ -621,7 +621,7 @@ static struct resource bfin_sport2_uart_resources[] = { | |||
621 | }, | 621 | }, |
622 | }; | 622 | }; |
623 | 623 | ||
624 | unsigned short bfin_sport2_peripherals[] = { | 624 | static unsigned short bfin_sport2_peripherals[] = { |
625 | P_SPORT2_TFS, P_SPORT2_DTPRI, P_SPORT2_TSCLK, P_SPORT2_RFS, | 625 | P_SPORT2_TFS, P_SPORT2_DTPRI, P_SPORT2_TSCLK, P_SPORT2_RFS, |
626 | P_SPORT2_DRPRI, P_SPORT2_RSCLK, P_SPORT2_DRSEC, P_SPORT2_DTSEC, 0 | 626 | P_SPORT2_DRPRI, P_SPORT2_RSCLK, P_SPORT2_DRSEC, P_SPORT2_DTSEC, 0 |
627 | }; | 627 | }; |
@@ -655,7 +655,7 @@ static struct resource bfin_sport3_uart_resources[] = { | |||
655 | }, | 655 | }, |
656 | }; | 656 | }; |
657 | 657 | ||
658 | unsigned short bfin_sport3_peripherals[] = { | 658 | static unsigned short bfin_sport3_peripherals[] = { |
659 | P_SPORT3_TFS, P_SPORT3_DTPRI, P_SPORT3_TSCLK, P_SPORT3_RFS, | 659 | P_SPORT3_TFS, P_SPORT3_DTPRI, P_SPORT3_TSCLK, P_SPORT3_RFS, |
660 | P_SPORT3_DRPRI, P_SPORT3_RSCLK, P_SPORT3_DRSEC, P_SPORT3_DTSEC, 0 | 660 | P_SPORT3_DRPRI, P_SPORT3_RSCLK, P_SPORT3_DRSEC, P_SPORT3_DTSEC, 0 |
661 | }; | 661 | }; |
@@ -757,7 +757,7 @@ static struct platform_device bf54x_sdh_device = { | |||
757 | #endif | 757 | #endif |
758 | 758 | ||
759 | #if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE) | 759 | #if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE) |
760 | unsigned short bfin_can_peripherals[] = { | 760 | static unsigned short bfin_can_peripherals[] = { |
761 | P_CAN0_RX, P_CAN0_TX, 0 | 761 | P_CAN0_RX, P_CAN0_TX, 0 |
762 | }; | 762 | }; |
763 | 763 | ||
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c index 277a81e9296f..ce5a2bb147dc 100644 --- a/arch/blackfin/mach-bf548/boards/ezkit.c +++ b/arch/blackfin/mach-bf548/boards/ezkit.c | |||
@@ -261,7 +261,7 @@ static struct resource bfin_uart0_resources[] = { | |||
261 | }, | 261 | }, |
262 | }; | 262 | }; |
263 | 263 | ||
264 | unsigned short bfin_uart0_peripherals[] = { | 264 | static unsigned short bfin_uart0_peripherals[] = { |
265 | P_UART0_TX, P_UART0_RX, 0 | 265 | P_UART0_TX, P_UART0_RX, 0 |
266 | }; | 266 | }; |
267 | 267 | ||
@@ -316,7 +316,7 @@ static struct resource bfin_uart1_resources[] = { | |||
316 | #endif | 316 | #endif |
317 | }; | 317 | }; |
318 | 318 | ||
319 | unsigned short bfin_uart1_peripherals[] = { | 319 | static unsigned short bfin_uart1_peripherals[] = { |
320 | P_UART1_TX, P_UART1_RX, | 320 | P_UART1_TX, P_UART1_RX, |
321 | #ifdef CONFIG_BFIN_UART1_CTSRTS | 321 | #ifdef CONFIG_BFIN_UART1_CTSRTS |
322 | P_UART1_RTS, P_UART1_CTS, | 322 | P_UART1_RTS, P_UART1_CTS, |
@@ -363,7 +363,7 @@ static struct resource bfin_uart2_resources[] = { | |||
363 | }, | 363 | }, |
364 | }; | 364 | }; |
365 | 365 | ||
366 | unsigned short bfin_uart2_peripherals[] = { | 366 | static unsigned short bfin_uart2_peripherals[] = { |
367 | P_UART2_TX, P_UART2_RX, 0 | 367 | P_UART2_TX, P_UART2_RX, 0 |
368 | }; | 368 | }; |
369 | 369 | ||
@@ -418,7 +418,7 @@ static struct resource bfin_uart3_resources[] = { | |||
418 | #endif | 418 | #endif |
419 | }; | 419 | }; |
420 | 420 | ||
421 | unsigned short bfin_uart3_peripherals[] = { | 421 | static unsigned short bfin_uart3_peripherals[] = { |
422 | P_UART3_TX, P_UART3_RX, | 422 | P_UART3_TX, P_UART3_RX, |
423 | #ifdef CONFIG_BFIN_UART3_CTSRTS | 423 | #ifdef CONFIG_BFIN_UART3_CTSRTS |
424 | P_UART3_RTS, P_UART3_CTS, | 424 | P_UART3_RTS, P_UART3_CTS, |
@@ -658,7 +658,7 @@ static struct resource bfin_sport0_uart_resources[] = { | |||
658 | }, | 658 | }, |
659 | }; | 659 | }; |
660 | 660 | ||
661 | unsigned short bfin_sport0_peripherals[] = { | 661 | static unsigned short bfin_sport0_peripherals[] = { |
662 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, | 662 | P_SPORT0_TFS, P_SPORT0_DTPRI, P_SPORT0_TSCLK, P_SPORT0_RFS, |
663 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 | 663 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
664 | }; | 664 | }; |
@@ -692,7 +692,7 @@ static struct resource bfin_sport1_uart_resources[] = { | |||
692 | }, | 692 | }, |
693 | }; | 693 | }; |
694 | 694 | ||
695 | unsigned short bfin_sport1_peripherals[] = { | 695 | static unsigned short bfin_sport1_peripherals[] = { |
696 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, | 696 | P_SPORT1_TFS, P_SPORT1_DTPRI, P_SPORT1_TSCLK, P_SPORT1_RFS, |
697 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 | 697 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
698 | }; | 698 | }; |
@@ -726,7 +726,7 @@ static struct resource bfin_sport2_uart_resources[] = { | |||
726 | }, | 726 | }, |
727 | }; | 727 | }; |
728 | 728 | ||
729 | unsigned short bfin_sport2_peripherals[] = { | 729 | static unsigned short bfin_sport2_peripherals[] = { |
730 | P_SPORT2_TFS, P_SPORT2_DTPRI, P_SPORT2_TSCLK, P_SPORT2_RFS, | 730 | P_SPORT2_TFS, P_SPORT2_DTPRI, P_SPORT2_TSCLK, P_SPORT2_RFS, |
731 | P_SPORT2_DRPRI, P_SPORT2_RSCLK, P_SPORT2_DRSEC, P_SPORT2_DTSEC, 0 | 731 | P_SPORT2_DRPRI, P_SPORT2_RSCLK, P_SPORT2_DRSEC, P_SPORT2_DTSEC, 0 |
732 | }; | 732 | }; |
@@ -760,7 +760,7 @@ static struct resource bfin_sport3_uart_resources[] = { | |||
760 | }, | 760 | }, |
761 | }; | 761 | }; |
762 | 762 | ||
763 | unsigned short bfin_sport3_peripherals[] = { | 763 | static unsigned short bfin_sport3_peripherals[] = { |
764 | P_SPORT3_TFS, P_SPORT3_DTPRI, P_SPORT3_TSCLK, P_SPORT3_RFS, | 764 | P_SPORT3_TFS, P_SPORT3_DTPRI, P_SPORT3_TSCLK, P_SPORT3_RFS, |
765 | P_SPORT3_DRPRI, P_SPORT3_RSCLK, P_SPORT3_DRSEC, P_SPORT3_DTSEC, 0 | 765 | P_SPORT3_DRPRI, P_SPORT3_RSCLK, P_SPORT3_DRSEC, P_SPORT3_DTSEC, 0 |
766 | }; | 766 | }; |
@@ -778,7 +778,7 @@ static struct platform_device bfin_sport3_uart_device = { | |||
778 | #endif | 778 | #endif |
779 | 779 | ||
780 | #if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE) | 780 | #if defined(CONFIG_CAN_BFIN) || defined(CONFIG_CAN_BFIN_MODULE) |
781 | unsigned short bfin_can_peripherals[] = { | 781 | static unsigned short bfin_can_peripherals[] = { |
782 | P_CAN0_RX, P_CAN0_TX, 0 | 782 | P_CAN0_RX, P_CAN0_TX, 0 |
783 | }; | 783 | }; |
784 | 784 | ||
diff --git a/arch/blackfin/mach-bf561/boards/acvilon.c b/arch/blackfin/mach-bf561/boards/acvilon.c index 0b1c20f14fe0..3926cd909b66 100644 --- a/arch/blackfin/mach-bf561/boards/acvilon.c +++ b/arch/blackfin/mach-bf561/boards/acvilon.c | |||
@@ -224,7 +224,7 @@ static struct resource bfin_uart0_resources[] = { | |||
224 | }, | 224 | }, |
225 | }; | 225 | }; |
226 | 226 | ||
227 | unsigned short bfin_uart0_peripherals[] = { | 227 | static unsigned short bfin_uart0_peripherals[] = { |
228 | P_UART0_TX, P_UART0_RX, 0 | 228 | P_UART0_TX, P_UART0_RX, 0 |
229 | }; | 229 | }; |
230 | 230 | ||
diff --git a/arch/blackfin/mach-bf561/boards/cm_bf561.c b/arch/blackfin/mach-bf561/boards/cm_bf561.c index 087b6b05cc73..3b67929d4c0a 100644 --- a/arch/blackfin/mach-bf561/boards/cm_bf561.c +++ b/arch/blackfin/mach-bf561/boards/cm_bf561.c | |||
@@ -334,7 +334,7 @@ static struct resource bfin_uart0_resources[] = { | |||
334 | }, | 334 | }, |
335 | }; | 335 | }; |
336 | 336 | ||
337 | unsigned short bfin_uart0_peripherals[] = { | 337 | static unsigned short bfin_uart0_peripherals[] = { |
338 | P_UART0_TX, P_UART0_RX, 0 | 338 | P_UART0_TX, P_UART0_RX, 0 |
339 | }; | 339 | }; |
340 | 340 | ||
diff --git a/arch/blackfin/mach-bf561/boards/ezkit.c b/arch/blackfin/mach-bf561/boards/ezkit.c index ab7a487975fd..f667e7704197 100644 --- a/arch/blackfin/mach-bf561/boards/ezkit.c +++ b/arch/blackfin/mach-bf561/boards/ezkit.c | |||
@@ -190,7 +190,7 @@ static struct resource bfin_uart0_resources[] = { | |||
190 | }, | 190 | }, |
191 | }; | 191 | }; |
192 | 192 | ||
193 | unsigned short bfin_uart0_peripherals[] = { | 193 | static unsigned short bfin_uart0_peripherals[] = { |
194 | P_UART0_TX, P_UART0_RX, 0 | 194 | P_UART0_TX, P_UART0_RX, 0 |
195 | }; | 195 | }; |
196 | 196 | ||
diff --git a/arch/blackfin/mach-bf561/boards/tepla.c b/arch/blackfin/mach-bf561/boards/tepla.c index d3017e53686b..bb056e60f6ed 100644 --- a/arch/blackfin/mach-bf561/boards/tepla.c +++ b/arch/blackfin/mach-bf561/boards/tepla.c | |||
@@ -72,7 +72,7 @@ static struct resource bfin_uart0_resources[] = { | |||
72 | }, | 72 | }, |
73 | }; | 73 | }; |
74 | 74 | ||
75 | unsigned short bfin_uart0_peripherals[] = { | 75 | static unsigned short bfin_uart0_peripherals[] = { |
76 | P_UART0_TX, P_UART0_RX, 0 | 76 | P_UART0_TX, P_UART0_RX, 0 |
77 | }; | 77 | }; |
78 | 78 | ||