diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-01-29 08:19:12 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-02-17 01:25:27 +0100 |
commit | 8838becdf5f7261d7f5dfbbe957fe9b9ed188aec (patch) | |
tree | 9a2bfbe783c71cba97fff61978f96a815876cc98 /arch/cris | |
parent | 778eeb1b199b85bec79b49ac483b013e270636ea (diff) |
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 <juhosg@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4870/
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/cris')
0 files changed, 0 insertions, 0 deletions