From: Linus Walleij Date: Tue, 16 Oct 2012 17:50:00 +0000 (+0100) Subject: ARM: 7554/1: VIC: use irq_domain_add_simple() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~53^2~1^6~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07c9249f1fa90cc8189bed44c0bcece664596a72;p=pandora-kernel.git ARM: 7554/1: VIC: use irq_domain_add_simple() Instead of allocating descriptors on-the-fly for the device tree initialization case, use irq_domain_add_simple() which will take care of this if you pass negative as the first_irq. Alter the signature of __vic_init() to pass the first_irq as signed so this works as expected. Switching the VIC to use irq_domain_add_simple() also has the upside of displaying the same WARNING when you boot with pre-allocated descriptors on systems using SPARSE_IRQ but yet not using device tree. Cc: Grant Likely Acked-by: Rob Herring Signed-off-by: Linus Walleij Signed-off-by: Russell King --- Reading git-diff-tree failed