From: Tony Lindgren Date: Wed, 8 Dec 2010 00:26:58 +0000 (-0800) Subject: omap1: Fix gpio mpuio bank to work for multi-omap for 7xx/15xx/16xx X-Git-Tag: v2.6.38-rc1~469^2~46^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5de62b86d2f5cf3459cb02ecb7a4530787bbd898;p=pandora-kernel.git omap1: Fix gpio mpuio bank to work for multi-omap for 7xx/15xx/16xx We need to divide the 15xx/16xx offset by 2 for 7xx. Use bank->stride for that. This allows us to get rid of the duplicate defines for the MPUIO registers. Note that this will cause omap-keypad.c driver to not work on 7xx. However, the right fix there is to move over to matrix_keypad instead as suggested by Cory Maccarrone and Janusz Krzysztofik . Cc: Cory Maccarrone Acked-by: Janusz Krzysztofik Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed