diff options
Diffstat (limited to 'arch/blackfin/mach-bf538/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf538/boards/ezkit.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/blackfin/mach-bf538/boards/ezkit.c b/arch/blackfin/mach-bf538/boards/ezkit.c index 1a1f65855b03..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,9 +282,9 @@ 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, P_SPORT0_DRSEC, P_SPORT0_DTSEC, 0 | 287 | P_SPORT0_DRPRI, P_SPORT0_RSCLK, 0 |
288 | }; | 288 | }; |
289 | 289 | ||
290 | static struct platform_device bfin_sport0_uart_device = { | 290 | static struct platform_device bfin_sport0_uart_device = { |
@@ -316,9 +316,9 @@ 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, P_SPORT1_DRSEC, P_SPORT1_DTSEC, 0 | 321 | P_SPORT1_DRPRI, P_SPORT1_RSCLK, 0 |
322 | }; | 322 | }; |
323 | 323 | ||
324 | static struct platform_device bfin_sport1_uart_device = { | 324 | static struct platform_device bfin_sport1_uart_device = { |
@@ -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 | ||
@@ -695,7 +695,7 @@ static struct platform_device bf538_spi_master0 = { | |||
695 | }; | 695 | }; |
696 | 696 | ||
697 | static struct bfin5xx_spi_master bf538_spi_master_info1 = { | 697 | static struct bfin5xx_spi_master bf538_spi_master_info1 = { |
698 | .num_chipselect = 8, | 698 | .num_chipselect = 2, |
699 | .enable_dma = 1, /* master has the ability to do dma transfer */ | 699 | .enable_dma = 1, /* master has the ability to do dma transfer */ |
700 | .pin_req = {P_SPI1_SCK, P_SPI1_MISO, P_SPI1_MOSI, 0}, | 700 | .pin_req = {P_SPI1_SCK, P_SPI1_MISO, P_SPI1_MOSI, 0}, |
701 | }; | 701 | }; |
@@ -711,7 +711,7 @@ static struct platform_device bf538_spi_master1 = { | |||
711 | }; | 711 | }; |
712 | 712 | ||
713 | static struct bfin5xx_spi_master bf538_spi_master_info2 = { | 713 | static struct bfin5xx_spi_master bf538_spi_master_info2 = { |
714 | .num_chipselect = 8, | 714 | .num_chipselect = 2, |
715 | .enable_dma = 1, /* master has the ability to do dma transfer */ | 715 | .enable_dma = 1, /* master has the ability to do dma transfer */ |
716 | .pin_req = {P_SPI2_SCK, P_SPI2_MISO, P_SPI2_MOSI, 0}, | 716 | .pin_req = {P_SPI2_SCK, P_SPI2_MISO, P_SPI2_MOSI, 0}, |
717 | }; | 717 | }; |