aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-17 08:53:10 -0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-20 13:26:03 -0400
commit0bae2887a725767bf00434fae18387818f8cc931 (patch)
tree600a788b2e75ad74c3dec0c650d249fe3a90c929
parent66a2af3824d856684b9865f140998a134eb4c6d8 (diff)
UBI: rename ubi_scan_move_to_list
The old name is not logical anymore - rename it to 'ubi_move_aeb_to_list()'. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
-rw-r--r--drivers/mtd/ubi/eba.c2
-rw-r--r--drivers/mtd/ubi/scan.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c
index 6f7f2756652..2592d1cc288 100644
--- a/drivers/mtd/ubi/eba.c
+++ b/drivers/mtd/ubi/eba.c
@@ -1256,7 +1256,7 @@ int ubi_eba_init_scan(struct ubi_device *ubi, struct ubi_attach_info *ai)
1256 * This may happen in case of an unclean reboot 1256 * This may happen in case of an unclean reboot
1257 * during re-size. 1257 * during re-size.
1258 */ 1258 */
1259 ubi_scan_move_to_list(av, aeb, &ai->erase); 1259 ubi_move_aeb_to_list(av, aeb, &ai->erase);
1260 vol->eba_tbl[aeb->lnum] = aeb->pnum; 1260 vol->eba_tbl[aeb->lnum] = aeb->pnum;
1261 } 1261 }
1262 } 1262 }
diff --git a/drivers/mtd/ubi/scan.h b/drivers/mtd/ubi/scan.h
index a406f5b4ffe..aa76b3b5c6b 100644
--- a/drivers/mtd/ubi/scan.h
+++ b/drivers/mtd/ubi/scan.h
@@ -143,13 +143,13 @@ struct ubi_device;
143struct ubi_vid_hdr; 143struct ubi_vid_hdr;
144 144
145/* 145/*
146 * ubi_scan_move_to_list - move a PEB from the volume tree to a list. 146 * ubi_move_aeb_to_list - move a PEB from the volume tree to a list.
147 * 147 *
148 * @av: volume attaching information 148 * @av: volume attaching information
149 * @aeb: scanning eraseblock information 149 * @aeb: scanning eraseblock information
150 * @list: the list to move to 150 * @list: the list to move to
151 */ 151 */
152static inline void ubi_scan_move_to_list(struct ubi_ainf_volume *av, 152static inline void ubi_move_aeb_to_list(struct ubi_ainf_volume *av,
153 struct ubi_ainf_peb *aeb, 153 struct ubi_ainf_peb *aeb,
154 struct list_head *list) 154 struct list_head *list)
155{ 155{