From: Lennert Buytenhek Date: Thu, 20 Apr 2006 20:24:38 +0000 (+0100) Subject: [ARM] 3480/1: ixp4xx: fix irq2gpio array type X-Git-Tag: v2.6.17-rc3~59^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cc1b6588686190325a960b5a598f4f952dbe23b;p=pandora-kernel.git [ARM] 3480/1: ixp4xx: fix irq2gpio array type Patch from Lennert Buytenhek The irq2gpio array was recently converted from an array of ints to an array of chars (by patch 3368/1.) However, this array contains elements that are -1, and on ARM, the char type is unsigned by default, so this patch broke the GPIO check in ixp4xx_set_irq_type. Change the 'char' to be a 'signed char' to fix this. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King --- Reading git-diff-tree failed