forked from Minki/linux
ARM: n30: Just call s3c24xx_init_irq() directly from machine definition
The n30_init_irq() call is simply a call to s3c24xx_init_irq, so just remove it and update the machine definitions to call the IRQ initialision call directly. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
This commit is contained in:
parent
8a19ebb093
commit
0c3767b161
@ -552,11 +552,6 @@ static void __init n30_map_io(void)
|
||||
s3c24xx_init_uarts(n30_uartcfgs, ARRAY_SIZE(n30_uartcfgs));
|
||||
}
|
||||
|
||||
static void __init n30_init_irq(void)
|
||||
{
|
||||
s3c24xx_init_irq();
|
||||
}
|
||||
|
||||
/* GPB3 is the line that controls the pull-up for the USB D+ line */
|
||||
|
||||
static void __init n30_init(void)
|
||||
@ -612,7 +607,7 @@ MACHINE_START(N30, "Acer-N30")
|
||||
.boot_params = S3C2410_SDRAM_PA + 0x100,
|
||||
.timer = &s3c24xx_timer,
|
||||
.init_machine = n30_init,
|
||||
.init_irq = n30_init_irq,
|
||||
.init_irq = s3c24xx_init_irq,
|
||||
.map_io = n30_map_io,
|
||||
MACHINE_END
|
||||
|
||||
@ -624,6 +619,6 @@ MACHINE_START(N35, "Acer-N35")
|
||||
.boot_params = S3C2410_SDRAM_PA + 0x100,
|
||||
.timer = &s3c24xx_timer,
|
||||
.init_machine = n30_init,
|
||||
.init_irq = n30_init_irq,
|
||||
.init_irq = s3c24xx_init_irq,
|
||||
.map_io = n30_map_io,
|
||||
MACHINE_END
|
||||
|
Loading…
Reference in New Issue
Block a user