diff options
Diffstat (limited to 'drivers/mtd/ubi/build.c')
-rw-r--r-- | drivers/mtd/ubi/build.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index 7f293b284ddb..ecedd75aae03 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; |