aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-11-02 07:09:39 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-11-02 07:09:39 +0000
commit06673531d5b4209a4a02b8809c6e23394ac34760 (patch)
tree6cb68cb27c6d584b7400497bc38e4e15ca8b1ce4 /target/linux
parent673b0de1535ed63ddc168729988805a6c435bf81 (diff)
downloadupstream-06673531d5b4209a4a02b8809c6e23394ac34760.tar.gz
upstream-06673531d5b4209a4a02b8809c6e23394ac34760.tar.bz2
upstream-06673531d5b4209a4a02b8809c6e23394ac34760.zip
Fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9482 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/adm5120/files/drivers/block/rb1xx/ata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/adm5120/files/drivers/block/rb1xx/ata.c b/target/linux/adm5120/files/drivers/block/rb1xx/ata.c
index 5447be5219..9769c08fa1 100644
--- a/target/linux/adm5120/files/drivers/block/rb1xx/ata.c
+++ b/target/linux/adm5120/files/drivers/block/rb1xx/ata.c
@@ -93,7 +93,7 @@ static inline int cf_present(struct cf_mips_dev* dev)
int i;
/* on RB100 WAIT is LOW all the time => read will hang */
- if (gpio_read_value(8))
+ if (gpio_get_value(8))
cmd |= EXTIO_WAIT_EN;
SW_WRITE_REG(GPIO_CONF2, cmd);