diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-11-02 07:09:39 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-11-02 07:09:39 +0000 |
commit | 38db1b4adcf4500fbaae6726d01948455ca11a17 (patch) | |
tree | 196e6cd65c38e5f29e65c6a53697e3e63324108f | |
parent | c88cda562ae142bb51ad49090829d6e8975440dd (diff) | |
download | mtk-20170518-38db1b4adcf4500fbaae6726d01948455ca11a17.zip mtk-20170518-38db1b4adcf4500fbaae6726d01948455ca11a17.tar.gz mtk-20170518-38db1b4adcf4500fbaae6726d01948455ca11a17.tar.bz2 |
Fix typo
SVN-Revision: 9482
-rw-r--r-- | target/linux/adm5120/files/drivers/block/rb1xx/ata.c | 2 |
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 5447be5..9769c08 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); |