• B
    irqchip: Add irqchip_init dummy function · 0d7c1210
    Bastian Hecht 提交于
    We add an empty irqchip_init dummy function for cases in which
    CONFIG_IRQCHIP is not used. In these cases irqchip.c is not compiled,
    but a funtion call may still be present in architecture code, that in
    runtime doesn't get hit.
    
    E.g. this is needed in the arch/arm/mach-shmobile/intc-r8a7740.c
    interrupt setup code where OF use and non OF us is both handled in one
    file.
    Signed-off-by: NBastian Hecht <hechtb+renesas@gmail.com>
    [horms+renesas@verge.net.au: Make non-CONFIG_IRQCHIP version static inline
     and remove trailing ';'.]
    Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
    0d7c1210
irqchip.h 459 字节