From 3ec498778b26134f82bca32c0dc0a71befc48f29 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Mon, 20 Apr 2009 14:46:33 +0300 Subject: libmtd: rename mtd_info Rename 'struct mtd_info' to 'struct mtd_dev_info' to reflect the fact that it provides information about a specific MTD device. Also, this is more consistent with libubi. Signed-off-by: Artem Bityutskiy --- ubi-utils/src/libscan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ubi-utils/src/libscan.c') diff --git a/ubi-utils/src/libscan.c b/ubi-utils/src/libscan.c index 4d64bca..25b5658 100644 --- a/ubi-utils/src/libscan.c +++ b/ubi-utils/src/libscan.c @@ -48,7 +48,8 @@ static int all_ff(const void *buf, int len) return 1; } -int ubi_scan(struct mtd_info *mtd, int fd, struct ubi_scan_info **info, int verbose) +int ubi_scan(struct mtd_dev_info *mtd, int fd, struct ubi_scan_info **info, + int verbose) { int eb, v = (verbose == 2), pr = (verbose == 1); struct ubi_scan_info *si; -- cgit v1.2.3