On Tue, Jan 10, 2012 at 11:24:11AM +0100, Thierry Reding wrote:
The irq_domain_add() function needs the number of interrupts in the
domain to properly initialize them. In addition the allocated domain
is now returned by the irq_domain_{add,generate}_simple() helpers.
Signed-off-by: Thierry Reding <redacted>
Acked-by: Nicolas Ferre <redacted>
Acked-by: David Brown <redacted>
---
Note: This patch should not be applied yet. There is a conflict with a
pending patch[0] by Benoit Cousson that will obsolete the OMAP2
hunk in this patch.
[0]: http://www.spinics.net/lists/linux-omap/msg62124.html
Changes in v2:
- Don't use ERR_PTR, keep the WARN_ON(1) and return NULL as requested
by Grant Likely.
- Integrate i.MX cleanup patch by Shawn Guo.
...
arch/arm/mach-imx/imx51-dt.c | 13 +++++++++++--
arch/arm/mach-imx/imx53-dt.c | 13 +++++++++++--
arch/arm/mach-imx/mach-imx6q.c | 6 +++++-
...
arch/arm/plat-mxc/include/mach/irqs.h | 13 +++++++------
arch/arm/plat-mxc/tzic.c | 2 --
Acked-by: Shawn Guo <redacted>
Regards,
Shawn