]> git.karo-electronics.de Git - karo-tx-linux.git/commit
irqchip: Add irqchip_init dummy function
authorBastian Hecht <hechtb@gmail.com>
Wed, 8 May 2013 13:20:04 +0000 (15:20 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 22 May 2013 12:55:41 +0000 (21:55 +0900)
commit14d064ad3881f47ae0a6f247c992652053c7f4d5
treec54c2e1c4646474d880ad736f1b155da1028e4cb
parent20ecf9cb57b2152b492098637d1d3cbe5c14ea15
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 <hechtb+renesas@gmail.com>
[horms+renesas@verge.net.au: Make non-CONFIG_IRQCHIP version static inline
 and remove trailing ';'.]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
include/linux/irqchip.h