summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/wl.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-11-24 12:14:06 +0100
committerRichard Weinberger <richard@nod.at>2018-01-18 00:18:50 +0100
commit889027bca233b422aedc2881d330e1a7c97e2315 (patch)
treef24ce9fe8632ed894c7ac6a10a15a50bc5c00b3c /drivers/mtd/ubi/wl.h
parentb3e73839379327ee21240ac48ea9a2eaf7613d79 (diff)
ubi: Fastmap: Fix typo
Fix misspelling of 'available' in function name. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/mtd/ubi/wl.h')
-rw-r--r--drivers/mtd/ubi/wl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/wl.h b/drivers/mtd/ubi/wl.h
index 2aaa3f7f2ba9..a9e2d669acd8 100644
--- a/drivers/mtd/ubi/wl.h
+++ b/drivers/mtd/ubi/wl.h
@@ -2,7 +2,7 @@
#ifndef UBI_WL_H
#define UBI_WL_H
#ifdef CONFIG_MTD_UBI_FASTMAP
-static int anchor_pebs_avalible(struct rb_root *root);
+static int anchor_pebs_available(struct rb_root *root);
static void update_fastmap_work_fn(struct work_struct *wrk);
static struct ubi_wl_entry *find_anchor_wl_entry(struct rb_root *root);
static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi);