diff options
Diffstat (limited to 'drivers/mtd/ubi/wl.c')
-rw-r--r-- | drivers/mtd/ubi/wl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c index 72fbae1f0a5..c143e611235 100644 --- a/drivers/mtd/ubi/wl.c +++ b/drivers/mtd/ubi/wl.c | |||
@@ -1373,14 +1373,14 @@ static void cancel_pending(struct ubi_device *ubi) | |||
1373 | } | 1373 | } |
1374 | 1374 | ||
1375 | /** | 1375 | /** |
1376 | * ubi_wl_init_scan - initialize the WL sub-system using attaching information. | 1376 | * ubi_wl_init - initialize the WL sub-system using attaching information. |
1377 | * @ubi: UBI device description object | 1377 | * @ubi: UBI device description object |
1378 | * @ai: attaching information | 1378 | * @ai: attaching information |
1379 | * | 1379 | * |
1380 | * This function returns zero in case of success, and a negative error code in | 1380 | * This function returns zero in case of success, and a negative error code in |
1381 | * case of failure. | 1381 | * case of failure. |
1382 | */ | 1382 | */ |
1383 | int ubi_wl_init_scan(struct ubi_device *ubi, struct ubi_attach_info *ai) | 1383 | int ubi_wl_init(struct ubi_device *ubi, struct ubi_attach_info *ai) |
1384 | { | 1384 | { |
1385 | int err, i; | 1385 | int err, i; |
1386 | struct rb_node *rb1, *rb2; | 1386 | struct rb_node *rb1, *rb2; |