From: Gabor Juhos Date: Tue, 29 Jan 2013 08:19:12 +0000 (+0000) Subject: MIPS: ath79: fix GPIO function selection for AR934x SoCs X-Git-Tag: v3.9-rc1~26^2~1^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8838becdf5f7261d7f5dfbbe957fe9b9ed188aec;p=pandora-kernel.git MIPS: ath79: fix GPIO function selection for AR934x SoCs GPIO function selection is not working on the AR934x SoCs because the offset of the function selection register is different on those. Add a helper routine which returns the correct register address based on the SoC type, and use that in the 'ath79_gpio_function_*' routines. Signed-off-by: Gabor Juhos Patchwork: http://patchwork.linux-mips.org/patch/4870/ Signed-off-by: John Crispin --- Reading git-diff-tree failed