summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/eba.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-17 15:33:20 +0300
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-20 20:26:03 +0300
commitdcd85fdd1040259f0053137f252321faec0a259f (patch)
tree31409c118426f741bf2681a0223b7f5336ff1bd1 /drivers/mtd/ubi/eba.c
parent3561188ac29580bdc0e8db3cf3c029b87cf2c6cd (diff)
UBI: rename ubi_scan_find_av
The old name is not logical anymore - rename it to 'ubi_find_av()'. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/eba.c')
-rw-r--r--drivers/mtd/ubi/eba.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c
index 572281a9a63c..6f7f27566524 100644
--- a/drivers/mtd/ubi/eba.c
+++ b/drivers/mtd/ubi/eba.c
@@ -1246,7 +1246,7 @@ int ubi_eba_init_scan(struct ubi_device *ubi, struct ubi_attach_info *ai)
for (j = 0; j < vol->reserved_pebs; j++)
vol->eba_tbl[j] = UBI_LEB_UNMAPPED;
- av = ubi_scan_find_av(ai, idx2vol_id(ubi, i));
+ av = ubi_find_av(ai, idx2vol_id(ubi, i));
if (!av)
continue;