From: Bastian Hecht Date: Wed, 8 May 2013 13:20:04 +0000 (+0200) Subject: irqchip: Add irqchip_init dummy function X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~73^2~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d7c1210992ff05ee8de5d2c790defded3856f29;p=pandora-kernel.git irqchip: Add irqchip_init dummy function 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: Bastian Hecht [horms+renesas@verge.net.au: Make non-CONFIG_IRQCHIP version static inline and remove trailing ';'.] Signed-off-by: Simon Horman --- Reading git-diff-tree failed