[ARM] 4450/1: pxa: add pxa25x_init_irq() and pxa27x_init_irq()
/* should be ok this time, I aligned this patch to your arm:pxa2.mbox */ 1. move pxa25x specific IRQ initialization code to pxa25x_init_irq() and pxa27x code to pxa27x_init_irq(), remove pxa_init_irq() 2. replace all pxa_init_irq() with their PXA25x or PXA27x specific functions Signed-off-by: eric miao <eric.miao@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
@ -375,12 +375,3 @@ void __init pxa_init_irq_gpio(int gpio_nr)
|
||||
set_irq_chip(IRQ_GPIO_2_x, &pxa_internal_chip_low);
|
||||
set_irq_chained_handler(IRQ_GPIO_2_x, pxa_gpio_demux_handler);
|
||||
}
|
||||
|
||||
void __init pxa_init_irq(void)
|
||||
{
|
||||
pxa_init_irq_low();
|
||||
#ifdef CONFIG_PXA27x
|
||||
pxa_init_irq_high();
|
||||
#endif
|
||||
pxa_init_irq_gpio(PXA_LAST_GPIO + 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user