]> git.sur5r.net Git - u-boot/blobdiff - fs/ubifs/ubifs.c
armv7: add reset timeout to identify_nand_chip
[u-boot] / fs / ubifs / ubifs.c
index a992a00c8f272727d6058b2e8079830d9d7c73b7..cdc04c662dd8d9c358c344b8a7e02e83bc5effad 100644 (file)
@@ -561,7 +561,7 @@ static unsigned long ubifs_findfile(struct super_block *sb, char *filename)
        return 0;
 }
 
-int ubifs_set_blk_dev(block_dev_desc_t *rbdd, disk_partition_t *info)
+int ubifs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info)
 {
        if (rbdd) {
                debug("UBIFS cannot be used with normal block devices\n");
@@ -569,7 +569,7 @@ int ubifs_set_blk_dev(block_dev_desc_t *rbdd, disk_partition_t *info)
        }
 
        /*
-        * Should never happen since get_device_and_partition() already checks
+        * Should never happen since blk_get_device_part_str() already checks
         * this, but better safe then sorry.
         */
        if (!ubifs_is_mounted()) {