On Thu, Jun 14, 2012 at 03:13:28PM +0800, Shawn Guo wrote:
On Thu, Jun 14, 2012 at 01:59:37PM +0800, Shawn Guo wrote:
quoted
Move irq_domain_add_legacy call from imx27-dt.c into avic init function
and have the avic driver adopt irqdomain support for both DT and non-DT
boot.
Now avic init function calls irq_alloc_descs to get irq_base and adds
a lenacy irqdomain with the irq_base, so that the mapping between avic
irq and Linux irq number can be handled by irqdomain.
Signed-off-by: Shawn Guo <redacted>
---
arch/arm/mach-imx/imx27-dt.c | 15 ---------------
arch/arm/plat-mxc/avic.c | 26 +++++++++++++++++++-------
2 files changed, 19 insertions(+), 22 deletions(-)
The following changes should be amended.
Acked-by: Dong Aisheng <redacted>
Regards
Dong Aisheng