diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-10-31 09:24:29 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-11-20 14:42:32 -0500 |
commit | 1b432840d0a4740020e29ae7a00717ef8f44954b (patch) | |
tree | 64374760eb188224bba02321bba49b99eeff4dc6 /virt | |
parent | 9e86786a4b17ad186f456dc6ac0508a17556731b (diff) |
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 <florian@openwrt.org>
Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions