]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - fs/ubifs/ubifs.c
part: Drop disk_partition_t typedef
[thirdparty/u-boot.git] / fs / ubifs / ubifs.c
index 1ffdfe0d9089ff5cc0232a74b9b3b531a9f9cb70..742c2f47ebf6ebcd8fac4e90b64ba1e4c4f8336d 100644 (file)
 #include <common.h>
 #include <env.h>
 #include <gzip.h>
+#include <malloc.h>
 #include <memalign.h>
 #include "ubifs.h"
+#include <dm/devres.h>
 #include <u-boot/zlib.h>
 
 #include <linux/compat.h>
@@ -547,7 +549,7 @@ static unsigned long ubifs_findfile(struct super_block *sb, char *filename)
        return 0;
 }
 
-int ubifs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info)
+int ubifs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info)
 {
        if (rbdd) {
                debug("UBIFS cannot be used with normal block devices\n");