aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/wl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/ubi/wl.c')
-rw-r--r--drivers/mtd/ubi/wl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c
index f64ddabd4ac8..ee7b1d8fbb92 100644
--- a/drivers/mtd/ubi/wl.c
+++ b/drivers/mtd/ubi/wl.c
@@ -350,7 +350,7 @@ static void prot_queue_add(struct ubi_device *ubi, struct ubi_wl_entry *e)
350 * @max: highest possible erase counter 350 * @max: highest possible erase counter
351 * 351 *
352 * This function looks for a wear leveling entry with erase counter closest to 352 * This function looks for a wear leveling entry with erase counter closest to
353 * @max and less then @max. 353 * @max and less than @max.
354 */ 354 */
355static struct ubi_wl_entry *find_wl_entry(struct rb_root *root, int max) 355static struct ubi_wl_entry *find_wl_entry(struct rb_root *root, int max)
356{ 356{