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-bf537/boards/stamp.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-bf537/boards/stamp.c')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 14 |
1 files changed, 7 insertions, 7 deletions
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 | }; |