diff options
| author | Tony Lindgren <tony@atomide.com> | 2011-09-26 18:25:22 -0400 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2011-09-26 20:50:37 -0400 |
| commit | be73246058737beec52ae232bcab7776332a9e06 (patch) | |
| tree | df661c19c1e3d781b67ee28bd5c7d96f248c0681 | |
| parent | e990a4060fcb78a1576d36e7327db11c0d278a6b (diff) | |
ARM: OMAP2+: Remove custom init_irq for remaining boards
With SoC specific timers, board specific init_irq is
no longer needed. Earlier this was still needed to
initialize the gptimer12 on Beagle based boards.
Also convert board-h4.c to use omap2_init_irq accidentally
did not get converted earlier.
Signed-off-by: Tony Lindgren <tony@atomide.com>
| -rw-r--r-- | arch/arm/mach-omap2/board-devkit8000.c | 7 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/board-h4.c | 7 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/board-omap3beagle.c | 7 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/board-omap3stalker.c | 7 | ||||
| -rw-r--r-- | arch/arm/mach-omap2/board-omap3touchbook.c | 7 |
5 files changed, 5 insertions, 30 deletions
diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c index 4b1f6c68c358..059b74dd9289 100644 --- a/arch/arm/mach-omap2/board-devkit8000.c +++ b/arch/arm/mach-omap2/board-devkit8000.c | |||
| @@ -397,11 +397,6 @@ static struct platform_device keys_gpio = { | |||
| 397 | }, | 397 | }, |
| 398 | }; | 398 | }; |
| 399 | 399 | ||
| 400 | static void __init devkit8000_init_irq(void) | ||
| 401 | { | ||
| 402 | omap3_init_irq(); | ||
| 403 | } | ||
| 404 | |||
| 405 | #define OMAP_DM9000_BASE 0x2c000000 | 400 | #define OMAP_DM9000_BASE 0x2c000000 |
| 406 | 401 | ||
| 407 | static struct resource omap_dm9000_resources[] = { | 402 | static struct resource omap_dm9000_resources[] = { |
| @@ -665,7 +660,7 @@ MACHINE_START(DEVKIT8000, "OMAP3 Devkit8000") | |||
| 665 | .reserve = omap_reserve, | 660 | .reserve = omap_reserve, |
| 666 | .map_io = omap3_map_io, | 661 | .map_io = omap3_map_io, |
| 667 | .init_early = omap35xx_init_early, | 662 | .init_early = omap35xx_init_early, |
| 668 | .init_irq = devkit8000_init_irq, | 663 | .init_irq = omap3_init_irq, |
| 669 | .init_machine = devkit8000_init, | 664 | .init_machine = devkit8000_init, |
| 670 | .timer = &omap3_secure_timer, | 665 | .timer = &omap3_secure_timer, |
| 671 | MACHINE_END | 666 | MACHINE_END |
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index fcc5107b0c2a..8486142dcae7 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c | |||
| @@ -290,11 +290,6 @@ static struct omap_board_config_kernel h4_config[] __initdata = { | |||
| 290 | { OMAP_TAG_LCD, &h4_lcd_config }, | 290 | { OMAP_TAG_LCD, &h4_lcd_config }, |
| 291 | }; | 291 | }; |
| 292 | 292 | ||
| 293 | static void __init omap_h4_init_irq(void) | ||
| 294 | { | ||
| 295 | omap2_init_irq(); | ||
| 296 | } | ||
| 297 | |||
| 298 | static struct at24_platform_data m24c01 = { | 293 | static struct at24_platform_data m24c01 = { |
| 299 | .byte_len = SZ_1K / 8, | 294 | .byte_len = SZ_1K / 8, |
| 300 | .page_size = 16, | 295 | .page_size = 16, |
| @@ -375,7 +370,7 @@ MACHINE_START(OMAP_H4, "OMAP2420 H4 board") | |||
| 375 | .reserve = omap_reserve, | 370 | .reserve = omap_reserve, |
| 376 | .map_io = omap242x_map_io, | 371 | .map_io = omap242x_map_io, |
| 377 | .init_early = omap2420_init_early, | 372 | .init_early = omap2420_init_early, |
| 378 | .init_irq = omap_h4_init_irq, | 373 | .init_irq = omap2_init_irq, |
| 379 | .init_machine = omap_h4_init, | 374 | .init_machine = omap_h4_init, |
| 380 | .timer = &omap2_timer, | 375 | .timer = &omap2_timer, |
| 381 | MACHINE_END | 376 | MACHINE_END |
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index ce3234d6a344..e085371eb494 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
| @@ -449,11 +449,6 @@ static void __init omap3_beagle_init_early(void) | |||
| 449 | omap2_init_common_infrastructure(); | 449 | omap2_init_common_infrastructure(); |
| 450 | } | 450 | } |
| 451 | 451 | ||
| 452 | static void __init omap3_beagle_init_irq(void) | ||
| 453 | { | ||
| 454 | omap3_init_irq(); | ||
| 455 | } | ||
| 456 | |||
| 457 | static struct platform_device *omap3_beagle_devices[] __initdata = { | 452 | static struct platform_device *omap3_beagle_devices[] __initdata = { |
| 458 | &leds_gpio, | 453 | &leds_gpio, |
| 459 | &keys_gpio, | 454 | &keys_gpio, |
| @@ -561,7 +556,7 @@ MACHINE_START(OMAP3_BEAGLE, "OMAP3 Beagle Board") | |||
| 561 | .reserve = omap_reserve, | 556 | .reserve = omap_reserve, |
| 562 | .map_io = omap3_map_io, | 557 | .map_io = omap3_map_io, |
| 563 | .init_early = omap3_beagle_init_early, | 558 | .init_early = omap3_beagle_init_early, |
| 564 | .init_irq = omap3_beagle_init_irq, | 559 | .init_irq = omap3_init_irq, |
| 565 | .init_machine = omap3_beagle_init, | 560 | .init_machine = omap3_beagle_init, |
| 566 | .timer = &omap3_secure_timer, | 561 | .timer = &omap3_secure_timer, |
| 567 | MACHINE_END | 562 | MACHINE_END |
diff --git a/arch/arm/mach-omap2/board-omap3stalker.c b/arch/arm/mach-omap2/board-omap3stalker.c index 807c27406792..fa58a0f1584a 100644 --- a/arch/arm/mach-omap2/board-omap3stalker.c +++ b/arch/arm/mach-omap2/board-omap3stalker.c | |||
| @@ -428,11 +428,6 @@ static int __init omap3_stalker_i2c_init(void) | |||
| 428 | static struct omap_board_config_kernel omap3_stalker_config[] __initdata = { | 428 | static struct omap_board_config_kernel omap3_stalker_config[] __initdata = { |
| 429 | }; | 429 | }; |
| 430 | 430 | ||
| 431 | static void __init omap3_stalker_init_irq(void) | ||
| 432 | { | ||
| 433 | omap3_init_irq(); | ||
| 434 | } | ||
| 435 | |||
| 436 | static struct platform_device *omap3_stalker_devices[] __initdata = { | 431 | static struct platform_device *omap3_stalker_devices[] __initdata = { |
| 437 | &keys_gpio, | 432 | &keys_gpio, |
| 438 | }; | 433 | }; |
| @@ -492,7 +487,7 @@ MACHINE_START(SBC3530, "OMAP3 STALKER") | |||
| 492 | .boot_params = 0x80000100, | 487 | .boot_params = 0x80000100, |
| 493 | .map_io = omap3_map_io, | 488 | .map_io = omap3_map_io, |
| 494 | .init_early = omap35xx_init_early, | 489 | .init_early = omap35xx_init_early, |
| 495 | .init_irq = omap3_stalker_init_irq, | 490 | .init_irq = omap3_init_irq, |
| 496 | .init_machine = omap3_stalker_init, | 491 | .init_machine = omap3_stalker_init, |
| 497 | .timer = &omap3_secure_timer, | 492 | .timer = &omap3_secure_timer, |
| 498 | MACHINE_END | 493 | MACHINE_END |
diff --git a/arch/arm/mach-omap2/board-omap3touchbook.c b/arch/arm/mach-omap2/board-omap3touchbook.c index f7f18092f36d..05488fbc20d5 100644 --- a/arch/arm/mach-omap2/board-omap3touchbook.c +++ b/arch/arm/mach-omap2/board-omap3touchbook.c | |||
| @@ -326,11 +326,6 @@ static struct omap_board_mux board_mux[] __initdata = { | |||
| 326 | }; | 326 | }; |
| 327 | #endif | 327 | #endif |
| 328 | 328 | ||
| 329 | static void __init omap3_touchbook_init_irq(void) | ||
| 330 | { | ||
| 331 | omap3_init_irq(); | ||
| 332 | } | ||
| 333 | |||
| 334 | static struct platform_device *omap3_touchbook_devices[] __initdata = { | 329 | static struct platform_device *omap3_touchbook_devices[] __initdata = { |
| 335 | &omap3_touchbook_lcd_device, | 330 | &omap3_touchbook_lcd_device, |
| 336 | &leds_gpio, | 331 | &leds_gpio, |
| @@ -403,7 +398,7 @@ MACHINE_START(TOUCHBOOK, "OMAP3 touchbook Board") | |||
| 403 | .reserve = omap_reserve, | 398 | .reserve = omap_reserve, |
| 404 | .map_io = omap3_map_io, | 399 | .map_io = omap3_map_io, |
| 405 | .init_early = omap3430_init_early, | 400 | .init_early = omap3430_init_early, |
| 406 | .init_irq = omap3_touchbook_init_irq, | 401 | .init_irq = omap3_init_irq, |
| 407 | .init_machine = omap3_touchbook_init, | 402 | .init_machine = omap3_touchbook_init, |
| 408 | .timer = &omap3_secure_timer, | 403 | .timer = &omap3_secure_timer, |
| 409 | MACHINE_END | 404 | MACHINE_END |
