On Wed, Feb 12, 2014 at 12:43 PM, delicious quinoa <delicious.quinoa@xxxxxxxxx> wrote: > On Wed, Feb 12, 2014 at 12:32 PM, Rob Herring <robherring2@xxxxxxxxx> wrote: >> On Wed, Feb 12, 2014 at 11:34 AM, delicious quinoa >> <delicious.quinoa@xxxxxxxxx> wrote: >>> From: Alan Tull <atull@xxxxxxxxxx> >>> >>> 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 <robh@xxxxxxxxxx> Rob -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html