[PATCH v3 02/11] irqchip: mmp: support irqchip

Haojian Zhuang haojian.zhuang at gmail.com
Mon Jun 3 06:06:05 EDT 2013


On Mon, Jun 3, 2013 at 5:42 PM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> On Mon, Jun 03, 2013 at 05:30:36PM +0800, Haojian Zhuang wrote:
>> @@ -64,7 +60,7 @@ static const char *mmp_dt_board_compat[] __initdata = {
>>
>>  DT_MACHINE_START(PXA168_DT, "Marvell PXA168 (Device Tree Support)")
>>       .map_io         = mmp_map_io,
>> -     .init_irq       = mmp_dt_irq_init,
>> +     .init_irq       = irqchip_init,
>>       .init_time      = mmp_dt_init_timer,
>>       .init_machine   = pxa168_dt_init,
>>       .dt_compat      = mmp_dt_board_compat,
>> @@ -72,7 +68,7 @@ MACHINE_END
>>
>>  DT_MACHINE_START(PXA910_DT, "Marvell PXA910 (Device Tree Support)")
>>       .map_io         = mmp_map_io,
>> -     .init_irq       = mmp_dt_irq_init,
>> +     .init_irq       = irqchip_init,
>
> This is what's in linux-next:
>
> void __init init_IRQ(void)
> {
>         if (IS_ENABLED(CONFIG_OF) && !machine_desc->init_irq)
>                 irqchip_init();
>         else
>                 machine_desc->init_irq();
> }
>
> So just set your .init_irq to NULL after basing your patchset on
> ebafed7ab9b637656b685f1dc1ee528c77241a0d (ARM: irq: Call irqchip_init
> if no init_irq function is specified).

OK. I'll update it.

Regards
Haojian



More information about the linux-arm-kernel mailing list