From: Florian Fainelli Date: Fri, 31 Oct 2008 13:24:29 +0000 (+0100) Subject: MIPS: RB532: GPIO register offsets are relative to GPIOBASE X-Git-Tag: v2.6.28-rc6~6^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b432840d0a4740020e29ae7a00717ef8f44954b;p=pandora-kernel.git MIPS: RB532: GPIO register offsets are relative to GPIOBASE This patch fixes the wrong use of GPIO register offsets in devices.c. To avoid further problems, use gpio_get_value to return the NAND status instead of our own expanded code. Also define the zero offset of the alternate function register to allow consistent access. Signed-off-by: Florian Fainelli Signed-off-by: Phil Sutter Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed