From: Shawn Guo Date: Thu, 1 Dec 2011 06:49:29 +0000 (+0800) Subject: arm/imx: fix irq_base for gpio X-Git-Tag: v3.2-rc5~29^2~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04aafd713bae8a75933c7821dc012b0ec9046bca;p=pandora-kernel.git arm/imx: fix irq_base for gpio When gpio core dynamically allocate gpio number for a port, it starts from the end of the total range, 0 ~ ARCH_NR_GPIOS. That said, the earlier a port gets probed, the bigger gpio number it gets assigned. To match this, the irq_base for gpio should be assigned from 'MXC_GPIO_IRQ_START + ARCH_NR_GPIOS' decreasingly. Signed-off-by: Shawn Guo --- Reading git-diff-tree failed