aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/scan.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-17 08:38:56 -0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-20 13:26:03 -0400
commitc87fbd7deb08315314654de5360c102acc8716ee (patch)
treef1f541353b11b5ccadbab8ec2c59db7e03398c61 /drivers/mtd/ubi/scan.h
parentd717dc2f85f07f68d313ac4f8f9f460f1e17dee0 (diff)
UBI: rename ubi_scan_get_free_peb
The old name is not logical anymore - rename it to 'ubi_early_get_peb()'. 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/scan.h b/drivers/mtd/ubi/scan.h
index 7d7e65f11f14..72ba24a13a72 100644
--- a/drivers/mtd/ubi/scan.h
+++ b/drivers/mtd/ubi/scan.h
@@ -162,8 +162,8 @@ int ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum,
162struct ubi_ainf_volume *ubi_find_av(const struct ubi_attach_info *ai, 162struct ubi_ainf_volume *ubi_find_av(const struct ubi_attach_info *ai,
163 int vol_id); 163 int vol_id);
164void ubi_remove_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av); 164void ubi_remove_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av);
165struct ubi_ainf_peb *ubi_scan_get_free_peb(struct ubi_device *ubi, 165struct ubi_ainf_peb *ubi_early_get_peb(struct ubi_device *ubi,
166 struct ubi_attach_info *ai); 166 struct ubi_attach_info *ai);
167struct ubi_attach_info *ubi_scan(struct ubi_device *ubi); 167struct ubi_attach_info *ubi_scan(struct ubi_device *ubi);
168void ubi_scan_destroy_ai(struct ubi_attach_info *ai); 168void ubi_scan_destroy_ai(struct ubi_attach_info *ai);
169 169