From: Shawn Guo Date: Wed, 13 Jun 2012 02:55:46 +0000 (+0800) Subject: ARM: imx: move irq_domain_add_legacy call into avic driver X-Git-Tag: v3.6-rc1~137^2~1^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=544496ab5cbdae312351da4c742ae70cab08dbf2;p=pandora-kernel.git ARM: imx: move irq_domain_add_legacy call into avic driver 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 Acked-by: Sascha Hauer Acked-by: Dong Aisheng --- Reading git-diff-tree failed