Fix typo
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 2 Nov 2007 07:09:39 +0000 (07:09 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 2 Nov 2007 07:09:39 +0000 (07:09 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9482 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 5447be5..9769c08 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);