diff options
author | Florian Fainelli <florian@openwrt.org> | 2008-10-31 14:24:29 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-11-20 19:42:32 +0000 |
commit | 1b432840d0a4740020e29ae7a00717ef8f44954b (patch) | |
tree | 64374760eb188224bba02321bba49b99eeff4dc6 /drivers/md/faulty.c | |
parent | 9e86786a4b17ad186f456dc6ac0508a17556731b (diff) | |
download | kernel-crypto-1b432840d0a4740020e29ae7a00717ef8f44954b.tar.gz kernel-crypto-1b432840d0a4740020e29ae7a00717ef8f44954b.tar.xz kernel-crypto-1b432840d0a4740020e29ae7a00717ef8f44954b.zip |
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 'drivers/md/faulty.c')
0 files changed, 0 insertions, 0 deletions