diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-17 15:53:10 +0300 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-23 13:04:36 +0300 |
commit | 8f420e7c55d686ea4daaf2c0863a6c4e17ea65bb (patch) | |
tree | f592202c6a27a9bacd90d80bf631c13bbde1367d | |
parent | 20589f9e494ec8a7a13dd9fac6e9f074e433dc7c (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.c | 2 | ||||
-rw-r--r-- | drivers/mtd/ubi/scan.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c index b177d7d51997..b6553a199716 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) * This may happen in case of an unclean reboot * during re-size. */ - ubi_scan_move_to_list(av, aeb, &ai->erase); + ubi_move_aeb_to_list(av, aeb, &ai->erase); vol->eba_tbl[aeb->lnum] = aeb->pnum; } } diff --git a/drivers/mtd/ubi/scan.h b/drivers/mtd/ubi/scan.h index a406f5b4ffeb..aa76b3b5c6b5 100644 --- a/drivers/mtd/ubi/scan.h +++ b/drivers/mtd/ubi/scan.h @@ -143,13 +143,13 @@ struct ubi_device; struct ubi_vid_hdr; /* - * ubi_scan_move_to_list - move a PEB from the volume tree to a list. + * ubi_move_aeb_to_list - move a PEB from the volume tree to a list. * * @av: volume attaching information * @aeb: scanning eraseblock information * @list: the list to move to */ -static inline void ubi_scan_move_to_list(struct ubi_ainf_volume *av, +static inline void ubi_move_aeb_to_list(struct ubi_ainf_volume *av, struct ubi_ainf_peb *aeb, struct list_head *list) { |