]> git.sur5r.net Git - u-boot/blobdiff - cmd/fat.c
dm: Drop the block_dev_desc_t typedef
[u-boot] / cmd / fat.c
index aae993d2b9a486c7ca1bdc16c10f7c84e9c817b9..82b9b38c2c56f9bd3b4e49010f24c9b968b65eb4 100644 (file)
--- a/cmd/fat.c
+++ b/cmd/fat.c
@@ -69,7 +69,7 @@ static int do_fat_fsinfo(cmd_tbl_t *cmdtp, int flag, int argc,
                         char * const argv[])
 {
        int dev, part;
-       block_dev_desc_t *dev_desc;
+       struct blk_desc *dev_desc;
        disk_partition_t info;
 
        if (argc < 2) {
@@ -105,7 +105,7 @@ static int do_fat_fswrite(cmd_tbl_t *cmdtp, int flag,
        int ret;
        unsigned long addr;
        unsigned long count;
-       block_dev_desc_t *dev_desc = NULL;
+       struct blk_desc *dev_desc = NULL;
        disk_partition_t info;
        int dev = 0;
        int part = 1;