Fix typo
authorFlorian Fainelli <florian@openwrt.org>
Fri, 2 Nov 2007 07:09:39 +0000 (07:09 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 2 Nov 2007 07:09:39 +0000 (07:09 +0000)
SVN-Revision: 9482

target/linux/adm5120/files/drivers/block/rb1xx/ata.c

index 5447be52197f7fb73aa9766d900567194a60dc46..9769c08fa1c273a355caf7e7f9bdcdbcc45f387c 100644 (file)
@@ -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);