aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/scan.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-17 08:31:31 -0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-20 13:26:02 -0400
commit3561188ac29580bdc0e8db3cf3c029b87cf2c6cd (patch)
tree56bcd55d7cf3a07e7d334b2266a436f9641d66f5 /drivers/mtd/ubi/scan.h
parentee663d929213c9f7e55c45229e9a01eeb8335b50 (diff)
UBI: rename ubi_scan_add_used
The old name is not logical anymore - rename it to 'ubi_add_to_av()'. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/scan.h')
-rw-r--r--drivers/mtd/ubi/scan.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/scan.h b/drivers/mtd/ubi/scan.h
index ef6e903be8e0..5a9ecc0abdd2 100644
--- a/drivers/mtd/ubi/scan.h
+++ b/drivers/mtd/ubi/scan.h
@@ -157,9 +157,8 @@ static inline void ubi_scan_move_to_list(struct ubi_ainf_volume *av,
157 list_add_tail(&aeb->u.list, list); 157 list_add_tail(&aeb->u.list, list);
158} 158}
159 159
160int ubi_scan_add_used(struct ubi_device *ubi, struct ubi_attach_info *ai, 160int ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum,
161 int pnum, int ec, const struct ubi_vid_hdr *vid_hdr, 161 int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips);
162 int bitflips);
163struct ubi_ainf_volume *ubi_scan_find_av(const struct ubi_attach_info *ai, 162struct ubi_ainf_volume *ubi_scan_find_av(const struct ubi_attach_info *ai,
164 int vol_id); 163 int vol_id);
165void ubi_scan_rm_volume(struct ubi_attach_info *ai, struct ubi_ainf_volume *av); 164void ubi_scan_rm_volume(struct ubi_attach_info *ai, struct ubi_ainf_volume *av);