summaryrefslogtreecommitdiff
path: root/ubi-utils/include/libscan.h
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/include/libscan.h')
-rw-r--r--ubi-utils/include/libscan.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ubi-utils/include/libscan.h b/ubi-utils/include/libscan.h
index 8597b98..3ba291f 100644
--- a/ubi-utils/include/libscan.h
+++ b/ubi-utils/include/libscan.h
@@ -87,7 +87,7 @@ struct ubi_scan_info
int data_offs;
};
-struct mtd_info;
+struct mtd_dev_info;
/**
* ubi_scan - scan an MTD device.
@@ -97,7 +97,7 @@ struct mtd_info;
* @verbose: verbose mode: %0 - be silent, %1 - output progress information,
* 2 - debugging output mode
*/
-int ubi_scan(struct mtd_info *mtd, int fd, struct ubi_scan_info **info,
+int ubi_scan(struct mtd_dev_info *mtd, int fd, struct ubi_scan_info **info,
int verbose);
/**