Re: [PATCH 03/12] irqchip: gic: define register_routable_domain_ops conditional
From: Arnd Bergmann <hidden>
Date: 2014-12-03 10:47:43
Also in:
linux-arm-kernel, lkml
From: Arnd Bergmann <hidden>
Date: 2014-12-03 10:47:43
Also in:
linux-arm-kernel, lkml
On Wednesday 03 December 2014 01:12:02 Stefan Agner wrote:
The inline function register_routable_domain_ops is only usable if CONFIG_ARM_GIC is set. Make it depend on this configuration. This also allows other SoC interrupt controller to provide such a function. Signed-off-by: Stefan Agner <redacted>
I don't think this is a good idea: either the interface is meant to be generic and should work with any interrupt controller, or it is specific to one irqchip and another irqchip should provide a different interface that has a nonconflicting name. I suppose you want the latter here, given that the declaration is part of the gic specific header file. Arnd -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html