diff options
Diffstat (limited to 'arch/blackfin/mach-bf537/boards')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/cm_bf537e.c | 16 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/cm_bf537u.c | 16 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/dnp5370.c | 16 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/minotaur.c | 14 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/pnav10.c | 15 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 16 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/tcm_bf537.c | 16 |
7 files changed, 90 insertions, 19 deletions
diff --git a/arch/blackfin/mach-bf537/boards/cm_bf537e.c b/arch/blackfin/mach-bf537/boards/cm_bf537e.c index 1471c51ea697..604a430038e1 100644 --- a/arch/blackfin/mach-bf537/boards/cm_bf537e.c +++ b/arch/blackfin/mach-bf537/boards/cm_bf537e.c | |||
@@ -8,6 +8,7 @@ | |||
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/device.h> | 10 | #include <linux/device.h> |
11 | #include <linux/export.h> | ||
11 | #include <linux/etherdevice.h> | 12 | #include <linux/etherdevice.h> |
12 | #include <linux/platform_device.h> | 13 | #include <linux/platform_device.h> |
13 | #include <linux/mtd/mtd.h> | 14 | #include <linux/mtd/mtd.h> |
@@ -305,8 +306,13 @@ static struct resource bfin_uart0_resources[] = { | |||
305 | .flags = IORESOURCE_MEM, | 306 | .flags = IORESOURCE_MEM, |
306 | }, | 307 | }, |
307 | { | 308 | { |
309 | .start = IRQ_UART0_TX, | ||
310 | .end = IRQ_UART0_TX, | ||
311 | .flags = IORESOURCE_IRQ, | ||
312 | }, | ||
313 | { | ||
308 | .start = IRQ_UART0_RX, | 314 | .start = IRQ_UART0_RX, |
309 | .end = IRQ_UART0_RX+1, | 315 | .end = IRQ_UART0_RX, |
310 | .flags = IORESOURCE_IRQ, | 316 | .flags = IORESOURCE_IRQ, |
311 | }, | 317 | }, |
312 | { | 318 | { |
@@ -366,8 +372,13 @@ static struct resource bfin_uart1_resources[] = { | |||
366 | .flags = IORESOURCE_MEM, | 372 | .flags = IORESOURCE_MEM, |
367 | }, | 373 | }, |
368 | { | 374 | { |
375 | .start = IRQ_UART1_TX, | ||
376 | .end = IRQ_UART1_TX, | ||
377 | .flags = IORESOURCE_IRQ, | ||
378 | }, | ||
379 | { | ||
369 | .start = IRQ_UART1_RX, | 380 | .start = IRQ_UART1_RX, |
370 | .end = IRQ_UART1_RX+1, | 381 | .end = IRQ_UART1_RX, |
371 | .flags = IORESOURCE_IRQ, | 382 | .flags = IORESOURCE_IRQ, |
372 | }, | 383 | }, |
373 | { | 384 | { |
@@ -569,7 +580,6 @@ static struct platform_device bfin_sport1_uart_device = { | |||
569 | 580 | ||
570 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 581 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
571 | #include <linux/bfin_mac.h> | 582 | #include <linux/bfin_mac.h> |
572 | #include <linux/export.h> | ||
573 | static const unsigned short bfin_mac_peripherals[] = P_MII0; | 583 | static const unsigned short bfin_mac_peripherals[] = P_MII0; |
574 | 584 | ||
575 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { | 585 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { |
diff --git a/arch/blackfin/mach-bf537/boards/cm_bf537u.c b/arch/blackfin/mach-bf537/boards/cm_bf537u.c index 47cf37de33ba..d916b46a44fe 100644 --- a/arch/blackfin/mach-bf537/boards/cm_bf537u.c +++ b/arch/blackfin/mach-bf537/boards/cm_bf537u.c | |||
@@ -9,6 +9,7 @@ | |||
9 | 9 | ||
10 | #include <linux/device.h> | 10 | #include <linux/device.h> |
11 | #include <linux/etherdevice.h> | 11 | #include <linux/etherdevice.h> |
12 | #include <linux/export.h> | ||
12 | #include <linux/platform_device.h> | 13 | #include <linux/platform_device.h> |
13 | #include <linux/mtd/mtd.h> | 14 | #include <linux/mtd/mtd.h> |
14 | #include <linux/mtd/partitions.h> | 15 | #include <linux/mtd/partitions.h> |
@@ -306,8 +307,13 @@ static struct resource bfin_uart0_resources[] = { | |||
306 | .flags = IORESOURCE_MEM, | 307 | .flags = IORESOURCE_MEM, |
307 | }, | 308 | }, |
308 | { | 309 | { |
310 | .start = IRQ_UART0_TX, | ||
311 | .end = IRQ_UART0_TX, | ||
312 | .flags = IORESOURCE_IRQ, | ||
313 | }, | ||
314 | { | ||
309 | .start = IRQ_UART0_RX, | 315 | .start = IRQ_UART0_RX, |
310 | .end = IRQ_UART0_RX+1, | 316 | .end = IRQ_UART0_RX, |
311 | .flags = IORESOURCE_IRQ, | 317 | .flags = IORESOURCE_IRQ, |
312 | }, | 318 | }, |
313 | { | 319 | { |
@@ -349,8 +355,13 @@ static struct resource bfin_uart1_resources[] = { | |||
349 | .flags = IORESOURCE_MEM, | 355 | .flags = IORESOURCE_MEM, |
350 | }, | 356 | }, |
351 | { | 357 | { |
358 | .start = IRQ_UART1_TX, | ||
359 | .end = IRQ_UART1_TX, | ||
360 | .flags = IORESOURCE_IRQ, | ||
361 | }, | ||
362 | { | ||
352 | .start = IRQ_UART1_RX, | 363 | .start = IRQ_UART1_RX, |
353 | .end = IRQ_UART1_RX+1, | 364 | .end = IRQ_UART1_RX, |
354 | .flags = IORESOURCE_IRQ, | 365 | .flags = IORESOURCE_IRQ, |
355 | }, | 366 | }, |
356 | { | 367 | { |
@@ -534,7 +545,6 @@ static struct platform_device bfin_sport1_uart_device = { | |||
534 | 545 | ||
535 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 546 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
536 | #include <linux/bfin_mac.h> | 547 | #include <linux/bfin_mac.h> |
537 | #include <linux/export.h> | ||
538 | static const unsigned short bfin_mac_peripherals[] = P_MII0; | 548 | static const unsigned short bfin_mac_peripherals[] = P_MII0; |
539 | 549 | ||
540 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { | 550 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { |
diff --git a/arch/blackfin/mach-bf537/boards/dnp5370.c b/arch/blackfin/mach-bf537/boards/dnp5370.c index 33e69e427e98..5f307228be63 100644 --- a/arch/blackfin/mach-bf537/boards/dnp5370.c +++ b/arch/blackfin/mach-bf537/boards/dnp5370.c | |||
@@ -12,6 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <linux/device.h> | 14 | #include <linux/device.h> |
15 | #include <linux/export.h> | ||
15 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
16 | #include <linux/platform_device.h> | 17 | #include <linux/platform_device.h> |
17 | #include <linux/io.h> | 18 | #include <linux/io.h> |
@@ -49,7 +50,6 @@ static struct platform_device rtc_device = { | |||
49 | 50 | ||
50 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 51 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
51 | #include <linux/bfin_mac.h> | 52 | #include <linux/bfin_mac.h> |
52 | #include <linux/export.h> | ||
53 | static const unsigned short bfin_mac_peripherals[] = P_RMII0; | 53 | static const unsigned short bfin_mac_peripherals[] = P_RMII0; |
54 | 54 | ||
55 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { | 55 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { |
@@ -237,8 +237,13 @@ static struct resource bfin_uart0_resources[] = { | |||
237 | .flags = IORESOURCE_MEM, | 237 | .flags = IORESOURCE_MEM, |
238 | }, | 238 | }, |
239 | { | 239 | { |
240 | .start = IRQ_UART0_TX, | ||
241 | .end = IRQ_UART0_TX, | ||
242 | .flags = IORESOURCE_IRQ, | ||
243 | }, | ||
244 | { | ||
240 | .start = IRQ_UART0_RX, | 245 | .start = IRQ_UART0_RX, |
241 | .end = IRQ_UART0_RX+1, | 246 | .end = IRQ_UART0_RX, |
242 | .flags = IORESOURCE_IRQ, | 247 | .flags = IORESOURCE_IRQ, |
243 | }, | 248 | }, |
244 | { | 249 | { |
@@ -281,8 +286,13 @@ static struct resource bfin_uart1_resources[] = { | |||
281 | .flags = IORESOURCE_MEM, | 286 | .flags = IORESOURCE_MEM, |
282 | }, | 287 | }, |
283 | { | 288 | { |
289 | .start = IRQ_UART1_TX, | ||
290 | .end = IRQ_UART1_TX, | ||
291 | .flags = IORESOURCE_IRQ, | ||
292 | }, | ||
293 | { | ||
284 | .start = IRQ_UART1_RX, | 294 | .start = IRQ_UART1_RX, |
285 | .end = IRQ_UART1_RX+1, | 295 | .end = IRQ_UART1_RX, |
286 | .flags = IORESOURCE_IRQ, | 296 | .flags = IORESOURCE_IRQ, |
287 | }, | 297 | }, |
288 | { | 298 | { |
diff --git a/arch/blackfin/mach-bf537/boards/minotaur.c b/arch/blackfin/mach-bf537/boards/minotaur.c index c62f9dccd9f7..3901dd093b90 100644 --- a/arch/blackfin/mach-bf537/boards/minotaur.c +++ b/arch/blackfin/mach-bf537/boards/minotaur.c | |||
@@ -240,8 +240,13 @@ static struct resource bfin_uart0_resources[] = { | |||
240 | .flags = IORESOURCE_MEM, | 240 | .flags = IORESOURCE_MEM, |
241 | }, | 241 | }, |
242 | { | 242 | { |
243 | .start = IRQ_UART0_TX, | ||
244 | .end = IRQ_UART0_TX, | ||
245 | .flags = IORESOURCE_IRQ, | ||
246 | }, | ||
247 | { | ||
243 | .start = IRQ_UART0_RX, | 248 | .start = IRQ_UART0_RX, |
244 | .end = IRQ_UART0_RX+1, | 249 | .end = IRQ_UART0_RX, |
245 | .flags = IORESOURCE_IRQ, | 250 | .flags = IORESOURCE_IRQ, |
246 | }, | 251 | }, |
247 | { | 252 | { |
@@ -283,8 +288,13 @@ static struct resource bfin_uart1_resources[] = { | |||
283 | .flags = IORESOURCE_MEM, | 288 | .flags = IORESOURCE_MEM, |
284 | }, | 289 | }, |
285 | { | 290 | { |
291 | .start = IRQ_UART1_TX, | ||
292 | .end = IRQ_UART1_TX, | ||
293 | .flags = IORESOURCE_IRQ, | ||
294 | }, | ||
295 | { | ||
286 | .start = IRQ_UART1_RX, | 296 | .start = IRQ_UART1_RX, |
287 | .end = IRQ_UART1_RX+1, | 297 | .end = IRQ_UART1_RX, |
288 | .flags = IORESOURCE_IRQ, | 298 | .flags = IORESOURCE_IRQ, |
289 | }, | 299 | }, |
290 | { | 300 | { |
diff --git a/arch/blackfin/mach-bf537/boards/pnav10.c b/arch/blackfin/mach-bf537/boards/pnav10.c index 3099e91114fc..aebd31c845f0 100644 --- a/arch/blackfin/mach-bf537/boards/pnav10.c +++ b/arch/blackfin/mach-bf537/boards/pnav10.c | |||
@@ -8,6 +8,7 @@ | |||
8 | 8 | ||
9 | #include <linux/device.h> | 9 | #include <linux/device.h> |
10 | #include <linux/etherdevice.h> | 10 | #include <linux/etherdevice.h> |
11 | #include <linux/export.h> | ||
11 | #include <linux/platform_device.h> | 12 | #include <linux/platform_device.h> |
12 | #include <linux/mtd/mtd.h> | 13 | #include <linux/mtd/mtd.h> |
13 | #include <linux/mtd/partitions.h> | 14 | #include <linux/mtd/partitions.h> |
@@ -309,8 +310,13 @@ static struct resource bfin_uart0_resources[] = { | |||
309 | .flags = IORESOURCE_MEM, | 310 | .flags = IORESOURCE_MEM, |
310 | }, | 311 | }, |
311 | { | 312 | { |
313 | .start = IRQ_UART0_TX, | ||
314 | .end = IRQ_UART0_TX, | ||
315 | .flags = IORESOURCE_IRQ, | ||
316 | }, | ||
317 | { | ||
312 | .start = IRQ_UART0_RX, | 318 | .start = IRQ_UART0_RX, |
313 | .end = IRQ_UART0_RX+1, | 319 | .end = IRQ_UART0_RX, |
314 | .flags = IORESOURCE_IRQ, | 320 | .flags = IORESOURCE_IRQ, |
315 | }, | 321 | }, |
316 | { | 322 | { |
@@ -352,8 +358,13 @@ static struct resource bfin_uart1_resources[] = { | |||
352 | .flags = IORESOURCE_MEM, | 358 | .flags = IORESOURCE_MEM, |
353 | }, | 359 | }, |
354 | { | 360 | { |
361 | .start = IRQ_UART1_TX, | ||
362 | .end = IRQ_UART1_TX, | ||
363 | .flags = IORESOURCE_IRQ, | ||
364 | }, | ||
365 | { | ||
355 | .start = IRQ_UART1_RX, | 366 | .start = IRQ_UART1_RX, |
356 | .end = IRQ_UART1_RX+1, | 367 | .end = IRQ_UART1_RX, |
357 | .flags = IORESOURCE_IRQ, | 368 | .flags = IORESOURCE_IRQ, |
358 | }, | 369 | }, |
359 | { | 370 | { |
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 27f955db9976..7fbb0bbf8676 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -7,6 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/device.h> | 9 | #include <linux/device.h> |
10 | #include <linux/export.h> | ||
10 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
11 | #include <linux/platform_device.h> | 12 | #include <linux/platform_device.h> |
12 | #include <linux/io.h> | 13 | #include <linux/io.h> |
@@ -1566,8 +1567,13 @@ static struct resource bfin_uart0_resources[] = { | |||
1566 | .flags = IORESOURCE_MEM, | 1567 | .flags = IORESOURCE_MEM, |
1567 | }, | 1568 | }, |
1568 | { | 1569 | { |
1570 | .start = IRQ_UART0_TX, | ||
1571 | .end = IRQ_UART0_TX, | ||
1572 | .flags = IORESOURCE_IRQ, | ||
1573 | }, | ||
1574 | { | ||
1569 | .start = IRQ_UART0_RX, | 1575 | .start = IRQ_UART0_RX, |
1570 | .end = IRQ_UART0_RX+1, | 1576 | .end = IRQ_UART0_RX, |
1571 | .flags = IORESOURCE_IRQ, | 1577 | .flags = IORESOURCE_IRQ, |
1572 | }, | 1578 | }, |
1573 | { | 1579 | { |
@@ -1621,8 +1627,13 @@ static struct resource bfin_uart1_resources[] = { | |||
1621 | .flags = IORESOURCE_MEM, | 1627 | .flags = IORESOURCE_MEM, |
1622 | }, | 1628 | }, |
1623 | { | 1629 | { |
1630 | .start = IRQ_UART1_TX, | ||
1631 | .end = IRQ_UART1_TX, | ||
1632 | .flags = IORESOURCE_IRQ, | ||
1633 | }, | ||
1634 | { | ||
1624 | .start = IRQ_UART1_RX, | 1635 | .start = IRQ_UART1_RX, |
1625 | .end = IRQ_UART1_RX+1, | 1636 | .end = IRQ_UART1_RX, |
1626 | .flags = IORESOURCE_IRQ, | 1637 | .flags = IORESOURCE_IRQ, |
1627 | }, | 1638 | }, |
1628 | { | 1639 | { |
@@ -1992,7 +2003,6 @@ static struct adp8870_backlight_platform_data adp8870_pdata = { | |||
1992 | 2003 | ||
1993 | #if defined(CONFIG_BACKLIGHT_ADP8860) || defined(CONFIG_BACKLIGHT_ADP8860_MODULE) | 2004 | #if defined(CONFIG_BACKLIGHT_ADP8860) || defined(CONFIG_BACKLIGHT_ADP8860_MODULE) |
1994 | #include <linux/i2c/adp8860.h> | 2005 | #include <linux/i2c/adp8860.h> |
1995 | #include <linux/export.h> | ||
1996 | static struct led_info adp8860_leds[] = { | 2006 | static struct led_info adp8860_leds[] = { |
1997 | { | 2007 | { |
1998 | .name = "adp8860-led7", | 2008 | .name = "adp8860-led7", |
diff --git a/arch/blackfin/mach-bf537/boards/tcm_bf537.c b/arch/blackfin/mach-bf537/boards/tcm_bf537.c index 841803038d6f..6917ce2fa55e 100644 --- a/arch/blackfin/mach-bf537/boards/tcm_bf537.c +++ b/arch/blackfin/mach-bf537/boards/tcm_bf537.c | |||
@@ -9,6 +9,7 @@ | |||
9 | 9 | ||
10 | #include <linux/device.h> | 10 | #include <linux/device.h> |
11 | #include <linux/etherdevice.h> | 11 | #include <linux/etherdevice.h> |
12 | #include <linux/export.h> | ||
12 | #include <linux/platform_device.h> | 13 | #include <linux/platform_device.h> |
13 | #include <linux/mtd/mtd.h> | 14 | #include <linux/mtd/mtd.h> |
14 | #include <linux/mtd/partitions.h> | 15 | #include <linux/mtd/partitions.h> |
@@ -306,8 +307,13 @@ static struct resource bfin_uart0_resources[] = { | |||
306 | .flags = IORESOURCE_MEM, | 307 | .flags = IORESOURCE_MEM, |
307 | }, | 308 | }, |
308 | { | 309 | { |
310 | .start = IRQ_UART0_TX, | ||
311 | .end = IRQ_UART0_TX, | ||
312 | .flags = IORESOURCE_IRQ, | ||
313 | }, | ||
314 | { | ||
309 | .start = IRQ_UART0_RX, | 315 | .start = IRQ_UART0_RX, |
310 | .end = IRQ_UART0_RX+1, | 316 | .end = IRQ_UART0_RX, |
311 | .flags = IORESOURCE_IRQ, | 317 | .flags = IORESOURCE_IRQ, |
312 | }, | 318 | }, |
313 | { | 319 | { |
@@ -349,8 +355,13 @@ static struct resource bfin_uart1_resources[] = { | |||
349 | .flags = IORESOURCE_MEM, | 355 | .flags = IORESOURCE_MEM, |
350 | }, | 356 | }, |
351 | { | 357 | { |
358 | .start = IRQ_UART1_TX, | ||
359 | .end = IRQ_UART1_TX, | ||
360 | .flags = IORESOURCE_IRQ, | ||
361 | }, | ||
362 | { | ||
352 | .start = IRQ_UART1_RX, | 363 | .start = IRQ_UART1_RX, |
353 | .end = IRQ_UART1_RX+1, | 364 | .end = IRQ_UART1_RX, |
354 | .flags = IORESOURCE_IRQ, | 365 | .flags = IORESOURCE_IRQ, |
355 | }, | 366 | }, |
356 | { | 367 | { |
@@ -536,7 +547,6 @@ static struct platform_device bfin_sport1_uart_device = { | |||
536 | 547 | ||
537 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) | 548 | #if defined(CONFIG_BFIN_MAC) || defined(CONFIG_BFIN_MAC_MODULE) |
538 | #include <linux/bfin_mac.h> | 549 | #include <linux/bfin_mac.h> |
539 | #include <linux/export.h> | ||
540 | static const unsigned short bfin_mac_peripherals[] = P_MII0; | 550 | static const unsigned short bfin_mac_peripherals[] = P_MII0; |
541 | 551 | ||
542 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { | 552 | static struct bfin_phydev_platform_data bfin_phydev_data[] = { |