[PATCH 5/9] ARM: dove: create a proper PMU driver for power domains, PMU IRQs and resets

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Mar 13 05:59:33 PDT 2015


On Fri, Mar 13, 2015 at 01:42:35PM +0100, Arnd Bergmann wrote:
> Ok. Given that the device is (also) an irqchip, would it work to use
> IRQCHIP_DECLARE() to have the driver initialized at init_irq() time
> as an alternative, or is that too early for some of the things this
> driver does?

I've just looked at that - it's not as easy as that, the macro is
defined in drivers/irqchip/irqchip.h which would need a relative
path to pick up - I'm not a fan of relative include paths.

-- 
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.



More information about the linux-arm-kernel mailing list