diff options
author | Heiko Stuebner <heiko@sntech.de> | 2013-03-06 22:38:19 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-03-06 22:38:19 -0500 |
commit | f182aa1dfa6283a1193308c4917aef4a7a982b8c (patch) | |
tree | ea6575bfb49dd0c280374caee204b8697acdcf95 /arch/arm | |
parent | 0fe3cb1ea5bf382cec946328ee25b233cab45c4d (diff) |
ARM: S3C24XX: move s3c24xx_init_irq to s3c2410_init_irq
The s3c24xx_init_irq function that was the base for all irq inits
is now only used to initialize the real s3c2410 irqs.
Therefore rename it and also move its declaration from plat/cpu.h
to common.h
The eint declaration is used by the vast majority of the SoCs and
gets therefore placed outside any ifdefs.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-s3c24xx/common.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/irq.c | 69 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-amlm5900.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-bast.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-h1940.c | 7 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-n30.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-otom.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-qt2410.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-smdk2410.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-tct_hammer.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-s3c24xx/mach-vr1000.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-samsung/include/plat/cpu.h | 1 |
12 files changed, 44 insertions, 52 deletions
diff --git a/arch/arm/mach-s3c24xx/common.h b/arch/arm/mach-s3c24xx/common.h index abefeb38bba4..307c3714be55 100644 --- a/arch/arm/mach-s3c24xx/common.h +++ b/arch/arm/mach-s3c24xx/common.h | |||
@@ -21,6 +21,7 @@ extern void s3c2410_map_io(void); | |||
21 | extern void s3c2410_init_uarts(struct s3c2410_uartcfg *cfg, int no); | 21 | extern void s3c2410_init_uarts(struct s3c2410_uartcfg *cfg, int no); |
22 | extern void s3c2410_init_clocks(int xtal); | 22 | extern void s3c2410_init_clocks(int xtal); |
23 | extern void s3c2410_restart(char mode, const char *cmd); | 23 | extern void s3c2410_restart(char mode, const char *cmd); |
24 | extern void s3c2410_init_irq(void); | ||
24 | #else | 25 | #else |
25 | #define s3c2410_init_clocks NULL | 26 | #define s3c2410_init_clocks NULL |
26 | #define s3c2410_init_uarts NULL | 27 | #define s3c2410_init_uarts NULL |
diff --git a/arch/arm/mach-s3c24xx/irq.c b/arch/arm/mach-s3c24xx/irq.c index a6a7554d946e..ee4765403ab0 100644 --- a/arch/arm/mach-s3c24xx/irq.c +++ b/arch/arm/mach-s3c24xx/irq.c | |||
@@ -509,12 +509,35 @@ err: | |||
509 | return ERR_PTR(ret); | 509 | return ERR_PTR(ret); |
510 | } | 510 | } |
511 | 511 | ||
512 | /* s3c24xx_init_irq | 512 | static struct s3c_irq_data init_eint[32] = { |
513 | * | 513 | { .type = S3C_IRQTYPE_NONE, }, /* reserved */ |
514 | * Initialise S3C2410 IRQ system | 514 | { .type = S3C_IRQTYPE_NONE, }, /* reserved */ |
515 | */ | 515 | { .type = S3C_IRQTYPE_NONE, }, /* reserved */ |
516 | { .type = S3C_IRQTYPE_NONE, }, /* reserved */ | ||
517 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT4 */ | ||
518 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT5 */ | ||
519 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT6 */ | ||
520 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT7 */ | ||
521 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT8 */ | ||
522 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT9 */ | ||
523 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT10 */ | ||
524 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT11 */ | ||
525 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT12 */ | ||
526 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT13 */ | ||
527 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT14 */ | ||
528 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT15 */ | ||
529 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT16 */ | ||
530 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT17 */ | ||
531 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT18 */ | ||
532 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT19 */ | ||
533 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT20 */ | ||
534 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT21 */ | ||
535 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT22 */ | ||
536 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT23 */ | ||
537 | }; | ||
516 | 538 | ||
517 | static struct s3c_irq_data init_base[32] = { | 539 | #ifdef CONFIG_CPU_S3C2410 |
540 | static struct s3c_irq_data init_s3c2410base[32] = { | ||
518 | { .type = S3C_IRQTYPE_EINT, }, /* EINT0 */ | 541 | { .type = S3C_IRQTYPE_EINT, }, /* EINT0 */ |
519 | { .type = S3C_IRQTYPE_EINT, }, /* EINT1 */ | 542 | { .type = S3C_IRQTYPE_EINT, }, /* EINT1 */ |
520 | { .type = S3C_IRQTYPE_EINT, }, /* EINT2 */ | 543 | { .type = S3C_IRQTYPE_EINT, }, /* EINT2 */ |
@@ -549,34 +572,7 @@ static struct s3c_irq_data init_base[32] = { | |||
549 | { .type = S3C_IRQTYPE_LEVEL, }, /* ADCPARENT */ | 572 | { .type = S3C_IRQTYPE_LEVEL, }, /* ADCPARENT */ |
550 | }; | 573 | }; |
551 | 574 | ||
552 | static struct s3c_irq_data init_eint[32] = { | 575 | static struct s3c_irq_data init_s3c2410subint[32] = { |
553 | { .type = S3C_IRQTYPE_NONE, }, /* reserved */ | ||
554 | { .type = S3C_IRQTYPE_NONE, }, /* reserved */ | ||
555 | { .type = S3C_IRQTYPE_NONE, }, /* reserved */ | ||
556 | { .type = S3C_IRQTYPE_NONE, }, /* reserved */ | ||
557 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT4 */ | ||
558 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT5 */ | ||
559 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT6 */ | ||
560 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 4 }, /* EINT7 */ | ||
561 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT8 */ | ||
562 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT9 */ | ||
563 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT10 */ | ||
564 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT11 */ | ||
565 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT12 */ | ||
566 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT13 */ | ||
567 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT14 */ | ||
568 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT15 */ | ||
569 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT16 */ | ||
570 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT17 */ | ||
571 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT18 */ | ||
572 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT19 */ | ||
573 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT20 */ | ||
574 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT21 */ | ||
575 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT22 */ | ||
576 | { .type = S3C_IRQTYPE_EINT, .parent_irq = 5 }, /* EINT23 */ | ||
577 | }; | ||
578 | |||
579 | static struct s3c_irq_data init_subint[32] = { | ||
580 | { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-RX */ | 576 | { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-RX */ |
581 | { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-TX */ | 577 | { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-TX */ |
582 | { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-ERR */ | 578 | { .type = S3C_IRQTYPE_LEVEL, .parent_irq = 28 }, /* UART0-ERR */ |
@@ -590,7 +586,7 @@ static struct s3c_irq_data init_subint[32] = { | |||
590 | { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* ADC */ | 586 | { .type = S3C_IRQTYPE_EDGE, .parent_irq = 31 }, /* ADC */ |
591 | }; | 587 | }; |
592 | 588 | ||
593 | void __init s3c24xx_init_irq(void) | 589 | void __init s3c2410_init_irq(void) |
594 | { | 590 | { |
595 | struct s3c_irq_intc *main_intc; | 591 | struct s3c_irq_intc *main_intc; |
596 | 592 | ||
@@ -598,15 +594,16 @@ void __init s3c24xx_init_irq(void) | |||
598 | init_FIQ(FIQ_START); | 594 | init_FIQ(FIQ_START); |
599 | #endif | 595 | #endif |
600 | 596 | ||
601 | main_intc = s3c24xx_init_intc(NULL, &init_base[0], NULL, 0x4a000000); | 597 | main_intc = s3c24xx_init_intc(NULL, &init_s3c2410base[0], NULL, 0x4a000000); |
602 | if (IS_ERR(main_intc)) { | 598 | if (IS_ERR(main_intc)) { |
603 | pr_err("irq: could not create main interrupt controller\n"); | 599 | pr_err("irq: could not create main interrupt controller\n"); |
604 | return; | 600 | return; |
605 | } | 601 | } |
606 | 602 | ||
607 | s3c24xx_init_intc(NULL, &init_subint[0], main_intc, 0x4a000018); | 603 | s3c24xx_init_intc(NULL, &init_s3c2410subint[0], main_intc, 0x4a000018); |
608 | s3c24xx_init_intc(NULL, &init_eint[0], main_intc, 0x560000a4); | 604 | s3c24xx_init_intc(NULL, &init_eint[0], main_intc, 0x560000a4); |
609 | } | 605 | } |
606 | #endif | ||
610 | 607 | ||
611 | #ifdef CONFIG_CPU_S3C2412 | 608 | #ifdef CONFIG_CPU_S3C2412 |
612 | static struct s3c_irq_data init_s3c2412base[32] = { | 609 | static struct s3c_irq_data init_s3c2412base[32] = { |
diff --git a/arch/arm/mach-s3c24xx/mach-amlm5900.c b/arch/arm/mach-s3c24xx/mach-amlm5900.c index 432144cb54ae..e27b5c91b3db 100644 --- a/arch/arm/mach-s3c24xx/mach-amlm5900.c +++ b/arch/arm/mach-s3c24xx/mach-amlm5900.c | |||
@@ -238,7 +238,7 @@ static void __init amlm5900_init(void) | |||
238 | MACHINE_START(AML_M5900, "AML_M5900") | 238 | MACHINE_START(AML_M5900, "AML_M5900") |
239 | .atag_offset = 0x100, | 239 | .atag_offset = 0x100, |
240 | .map_io = amlm5900_map_io, | 240 | .map_io = amlm5900_map_io, |
241 | .init_irq = s3c24xx_init_irq, | 241 | .init_irq = s3c2410_init_irq, |
242 | .init_machine = amlm5900_init, | 242 | .init_machine = amlm5900_init, |
243 | .init_time = samsung_timer_init, | 243 | .init_time = samsung_timer_init, |
244 | .restart = s3c2410_restart, | 244 | .restart = s3c2410_restart, |
diff --git a/arch/arm/mach-s3c24xx/mach-bast.c b/arch/arm/mach-s3c24xx/mach-bast.c index eabe2db42ef6..22d6ae926d91 100644 --- a/arch/arm/mach-s3c24xx/mach-bast.c +++ b/arch/arm/mach-s3c24xx/mach-bast.c | |||
@@ -605,7 +605,7 @@ MACHINE_START(BAST, "Simtec-BAST") | |||
605 | /* Maintainer: Ben Dooks <ben@simtec.co.uk> */ | 605 | /* Maintainer: Ben Dooks <ben@simtec.co.uk> */ |
606 | .atag_offset = 0x100, | 606 | .atag_offset = 0x100, |
607 | .map_io = bast_map_io, | 607 | .map_io = bast_map_io, |
608 | .init_irq = s3c24xx_init_irq, | 608 | .init_irq = s3c2410_init_irq, |
609 | .init_machine = bast_init, | 609 | .init_machine = bast_init, |
610 | .init_time = samsung_timer_init, | 610 | .init_time = samsung_timer_init, |
611 | .restart = s3c2410_restart, | 611 | .restart = s3c2410_restart, |
diff --git a/arch/arm/mach-s3c24xx/mach-h1940.c b/arch/arm/mach-s3c24xx/mach-h1940.c index 8dd660102846..af4334d6b4d5 100644 --- a/arch/arm/mach-s3c24xx/mach-h1940.c +++ b/arch/arm/mach-s3c24xx/mach-h1940.c | |||
@@ -667,11 +667,6 @@ static void __init h1940_reserve(void) | |||
667 | memblock_reserve(0x30081000, 0x1000); | 667 | memblock_reserve(0x30081000, 0x1000); |
668 | } | 668 | } |
669 | 669 | ||
670 | static void __init h1940_init_irq(void) | ||
671 | { | ||
672 | s3c24xx_init_irq(); | ||
673 | } | ||
674 | |||
675 | static void __init h1940_init(void) | 670 | static void __init h1940_init(void) |
676 | { | 671 | { |
677 | u32 tmp; | 672 | u32 tmp; |
@@ -740,7 +735,7 @@ MACHINE_START(H1940, "IPAQ-H1940") | |||
740 | .atag_offset = 0x100, | 735 | .atag_offset = 0x100, |
741 | .map_io = h1940_map_io, | 736 | .map_io = h1940_map_io, |
742 | .reserve = h1940_reserve, | 737 | .reserve = h1940_reserve, |
743 | .init_irq = h1940_init_irq, | 738 | .init_irq = s3c2410_init_irq, |
744 | .init_machine = h1940_init, | 739 | .init_machine = h1940_init, |
745 | .init_time = samsung_timer_init, | 740 | .init_time = samsung_timer_init, |
746 | .restart = s3c2410_restart, | 741 | .restart = s3c2410_restart, |
diff --git a/arch/arm/mach-s3c24xx/mach-n30.c b/arch/arm/mach-s3c24xx/mach-n30.c index 73a690f431e6..2cb46c37c920 100644 --- a/arch/arm/mach-s3c24xx/mach-n30.c +++ b/arch/arm/mach-s3c24xx/mach-n30.c | |||
@@ -592,7 +592,7 @@ MACHINE_START(N30, "Acer-N30") | |||
592 | .atag_offset = 0x100, | 592 | .atag_offset = 0x100, |
593 | .init_time = samsung_timer_init, | 593 | .init_time = samsung_timer_init, |
594 | .init_machine = n30_init, | 594 | .init_machine = n30_init, |
595 | .init_irq = s3c24xx_init_irq, | 595 | .init_irq = s3c2410_init_irq, |
596 | .map_io = n30_map_io, | 596 | .map_io = n30_map_io, |
597 | .restart = s3c2410_restart, | 597 | .restart = s3c2410_restart, |
598 | MACHINE_END | 598 | MACHINE_END |
@@ -603,7 +603,7 @@ MACHINE_START(N35, "Acer-N35") | |||
603 | .atag_offset = 0x100, | 603 | .atag_offset = 0x100, |
604 | .init_time = samsung_timer_init, | 604 | .init_time = samsung_timer_init, |
605 | .init_machine = n30_init, | 605 | .init_machine = n30_init, |
606 | .init_irq = s3c24xx_init_irq, | 606 | .init_irq = s3c2410_init_irq, |
607 | .map_io = n30_map_io, | 607 | .map_io = n30_map_io, |
608 | .restart = s3c2410_restart, | 608 | .restart = s3c2410_restart, |
609 | MACHINE_END | 609 | MACHINE_END |
diff --git a/arch/arm/mach-s3c24xx/mach-otom.c b/arch/arm/mach-s3c24xx/mach-otom.c index 7b8670746b6a..7e16b0740ec1 100644 --- a/arch/arm/mach-s3c24xx/mach-otom.c +++ b/arch/arm/mach-s3c24xx/mach-otom.c | |||
@@ -116,7 +116,7 @@ MACHINE_START(OTOM, "Nex Vision - Otom 1.1") | |||
116 | .atag_offset = 0x100, | 116 | .atag_offset = 0x100, |
117 | .map_io = otom11_map_io, | 117 | .map_io = otom11_map_io, |
118 | .init_machine = otom11_init, | 118 | .init_machine = otom11_init, |
119 | .init_irq = s3c24xx_init_irq, | 119 | .init_irq = s3c2410_init_irq, |
120 | .init_time = samsung_timer_init, | 120 | .init_time = samsung_timer_init, |
121 | .restart = s3c2410_restart, | 121 | .restart = s3c2410_restart, |
122 | MACHINE_END | 122 | MACHINE_END |
diff --git a/arch/arm/mach-s3c24xx/mach-qt2410.c b/arch/arm/mach-s3c24xx/mach-qt2410.c index 71cf29b12d1f..f8feaeadb55a 100644 --- a/arch/arm/mach-s3c24xx/mach-qt2410.c +++ b/arch/arm/mach-s3c24xx/mach-qt2410.c | |||
@@ -343,7 +343,7 @@ static void __init qt2410_machine_init(void) | |||
343 | MACHINE_START(QT2410, "QT2410") | 343 | MACHINE_START(QT2410, "QT2410") |
344 | .atag_offset = 0x100, | 344 | .atag_offset = 0x100, |
345 | .map_io = qt2410_map_io, | 345 | .map_io = qt2410_map_io, |
346 | .init_irq = s3c24xx_init_irq, | 346 | .init_irq = s3c2410_init_irq, |
347 | .init_machine = qt2410_machine_init, | 347 | .init_machine = qt2410_machine_init, |
348 | .init_time = samsung_timer_init, | 348 | .init_time = samsung_timer_init, |
349 | .restart = s3c2410_restart, | 349 | .restart = s3c2410_restart, |
diff --git a/arch/arm/mach-s3c24xx/mach-smdk2410.c b/arch/arm/mach-s3c24xx/mach-smdk2410.c index fd96f7fc330c..a773789e4f38 100644 --- a/arch/arm/mach-s3c24xx/mach-smdk2410.c +++ b/arch/arm/mach-s3c24xx/mach-smdk2410.c | |||
@@ -116,7 +116,7 @@ MACHINE_START(SMDK2410, "SMDK2410") /* @TODO: request a new identifier and switc | |||
116 | /* Maintainer: Jonas Dietsche */ | 116 | /* Maintainer: Jonas Dietsche */ |
117 | .atag_offset = 0x100, | 117 | .atag_offset = 0x100, |
118 | .map_io = smdk2410_map_io, | 118 | .map_io = smdk2410_map_io, |
119 | .init_irq = s3c24xx_init_irq, | 119 | .init_irq = s3c2410_init_irq, |
120 | .init_machine = smdk2410_init, | 120 | .init_machine = smdk2410_init, |
121 | .init_time = samsung_timer_init, | 121 | .init_time = samsung_timer_init, |
122 | .restart = s3c2410_restart, | 122 | .restart = s3c2410_restart, |
diff --git a/arch/arm/mach-s3c24xx/mach-tct_hammer.c b/arch/arm/mach-s3c24xx/mach-tct_hammer.c index 31dfe589e349..7fad8f055cab 100644 --- a/arch/arm/mach-s3c24xx/mach-tct_hammer.c +++ b/arch/arm/mach-s3c24xx/mach-tct_hammer.c | |||
@@ -149,7 +149,7 @@ static void __init tct_hammer_init(void) | |||
149 | MACHINE_START(TCT_HAMMER, "TCT_HAMMER") | 149 | MACHINE_START(TCT_HAMMER, "TCT_HAMMER") |
150 | .atag_offset = 0x100, | 150 | .atag_offset = 0x100, |
151 | .map_io = tct_hammer_map_io, | 151 | .map_io = tct_hammer_map_io, |
152 | .init_irq = s3c24xx_init_irq, | 152 | .init_irq = s3c2410_init_irq, |
153 | .init_machine = tct_hammer_init, | 153 | .init_machine = tct_hammer_init, |
154 | .init_time = samsung_timer_init, | 154 | .init_time = samsung_timer_init, |
155 | .restart = s3c2410_restart, | 155 | .restart = s3c2410_restart, |
diff --git a/arch/arm/mach-s3c24xx/mach-vr1000.c b/arch/arm/mach-s3c24xx/mach-vr1000.c index deeb8a0a4034..42e7187fed60 100644 --- a/arch/arm/mach-s3c24xx/mach-vr1000.c +++ b/arch/arm/mach-s3c24xx/mach-vr1000.c | |||
@@ -355,7 +355,7 @@ MACHINE_START(VR1000, "Thorcom-VR1000") | |||
355 | .atag_offset = 0x100, | 355 | .atag_offset = 0x100, |
356 | .map_io = vr1000_map_io, | 356 | .map_io = vr1000_map_io, |
357 | .init_machine = vr1000_init, | 357 | .init_machine = vr1000_init, |
358 | .init_irq = s3c24xx_init_irq, | 358 | .init_irq = s3c2410_init_irq, |
359 | .init_time = samsung_timer_init, | 359 | .init_time = samsung_timer_init, |
360 | .restart = s3c2410_restart, | 360 | .restart = s3c2410_restart, |
361 | MACHINE_END | 361 | MACHINE_END |
diff --git a/arch/arm/plat-samsung/include/plat/cpu.h b/arch/arm/plat-samsung/include/plat/cpu.h index 0f6c47a6475b..989fefe18be6 100644 --- a/arch/arm/plat-samsung/include/plat/cpu.h +++ b/arch/arm/plat-samsung/include/plat/cpu.h | |||
@@ -183,7 +183,6 @@ extern void s3c_init_cpu(unsigned long idcode, | |||
183 | 183 | ||
184 | /* core initialisation functions */ | 184 | /* core initialisation functions */ |
185 | 185 | ||
186 | extern void s3c24xx_init_irq(void); | ||
187 | extern void s5p_init_irq(u32 *vic, u32 num_vic); | 186 | extern void s5p_init_irq(u32 *vic, u32 num_vic); |
188 | 187 | ||
189 | extern void s3c24xx_init_io(struct map_desc *mach_desc, int size); | 188 | extern void s3c24xx_init_io(struct map_desc *mach_desc, int size); |