aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 388e46be6ad9..250e30fac61b 100644
--- a/drivers/mtd/ubi/eba.c
+++ b/drivers/mtd/ubi/eba.c
@@ -384,7 +384,7 @@ static int leb_write_lock(struct ubi_device *ubi, int vol_id, int lnum)
384} 384}
385 385
386/** 386/**
387 * leb_write_lock - lock logical eraseblock for writing. 387 * leb_write_trylock - try to lock logical eraseblock for writing.
388 * @ubi: UBI device description object 388 * @ubi: UBI device description object
389 * @vol_id: volume ID 389 * @vol_id: volume ID
390 * @lnum: logical eraseblock number 390 * @lnum: logical eraseblock number