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/mach-bf548/boards/cm_bf548.c | |
parent | 3ea9f2bf5a3b91ba18af9f25bfc9a32677ea47d8 (diff) |
Blackfin: boards: add missing "static" to peripheral lists
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf548/boards/cm_bf548.c')
-rw-r--r-- | arch/blackfin/mach-bf548/boards/cm_bf548.c | 18 |
1 files changed, 9 insertions, 9 deletions
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 | ||