From: Shawn Guo Date: Thu, 1 Dec 2011 06:35:29 +0000 (+0800) Subject: arm/imx: fix return type of callback passed to of_irq_init() X-Git-Tag: v3.2-rc5~29^2~6^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a3267a489f1dc4284b64a4b88c62011946dc7ff;p=pandora-kernel.git arm/imx: fix return type of callback passed to of_irq_init() The of_irq_init() expects the callback passed by .data of of_device_id return 'int' instead of 'void'. This patch fixes it to have irq_init_cb() return the correct value, and in turn have the secondary interrupt controller (gpio in this case) initialized properly and also eliminate the error message 'of_irq_init: children remain, but no parents' which was overlooked before. Signed-off-by: Shawn Guo --- Reading git-diff-tree failed