Re: [PATCH] export of_irq_count
From: Rob Herring <hidden>
Date: 2014-02-12 19:56:26
On Wed, Feb 12, 2014 at 12:43 PM, delicious quinoa [off-list ref] wrote:
On Wed, Feb 12, 2014 at 12:32 PM, Rob Herring [off-list ref] wrote:quoted
On Wed, Feb 12, 2014 at 11:34 AM, delicious quinoa [off-list ref] wrote:quoted
From: Alan Tull <redacted> export of_irq_count so it can be used in drivers that are built as modules.What drivers? Drivers generally should be using resources rather than this function directly.It's for the DesignWare GPIO driver I've been upstreaming. The DesignWare IP can be configured to be one irq for all the gpios or one irq per gpio. I want to support both cases. So I need to know how many irqs are specified in the device tree.
Okay. You should merge this as part of that then, so: Acked-by: Rob Herring <redacted> Rob -- 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