From: Florian Fainelli Date: Fri, 2 Nov 2007 07:09:39 +0000 (+0000) Subject: Fix typo X-Git-Tag: reboot~27698 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=38db1b4adcf4500fbaae6726d01948455ca11a17;p=openwrt%2Fstaging%2Fjogo.git Fix typo SVN-Revision: 9482 --- 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);