aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/build.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-17 21:05:33 +0300
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-20 20:26:04 +0300
commit41e0cd9d4eeff0895e66cad5c70a90ba41023ea3 (patch)
treebee7cddd137ebe70ff58d2ac3c36135a4be61587 /drivers/mtd/ubi/build.c
parentfbd0107f4d33be01c9fb2c630036bd66b7e3d4dc (diff)
UBI: rename _init_scan functions
We have a couple of initialization funcntionsn left which have "_scan" suffic - rename them: ubi_eba_init_scan() -> ubi_eba_init() ubi_wl_init_scan() -> ubi_wl_init() Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/build.c')
-rw-r--r--drivers/mtd/ubi/build.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c
index 7f293b284dd..ecedd75aae0 100644
--- a/drivers/mtd/ubi/build.c
+++ b/drivers/mtd/ubi/build.c
@@ -596,11 +596,11 @@ static int attach_by_scanning(struct ubi_device *ubi)
if (err)
goto out_ai;
- err = ubi_wl_init_scan(ubi, ai);
+ err = ubi_wl_init(ubi, ai);
if (err)
goto out_vtbl;
- err = ubi_eba_init_scan(ubi, ai);
+ err = ubi_eba_init(ubi, ai);
if (err)
goto out_wl;