diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-11-24 12:14:06 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2018-01-18 00:18:50 +0100 |
commit | 889027bca233b422aedc2881d330e1a7c97e2315 (patch) | |
tree | f24ce9fe8632ed894c7ac6a10a15a50bc5c00b3c /drivers/mtd/ubi/wl.c | |
parent | ubifs: remove error message in ubifs_xattr_get (diff) | |
download | linux-889027bca233b422aedc2881d330e1a7c97e2315.tar.xz linux-889027bca233b422aedc2881d330e1a7c97e2315.zip |
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.c')
-rw-r--r-- | drivers/mtd/ubi/wl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c index 668b46202507..77ab49f2743b 100644 --- a/drivers/mtd/ubi/wl.c +++ b/drivers/mtd/ubi/wl.c @@ -692,7 +692,7 @@ static int wear_leveling_worker(struct ubi_device *ubi, struct ubi_work *wrk, #ifdef CONFIG_MTD_UBI_FASTMAP /* Check whether we need to produce an anchor PEB */ if (!anchor) - anchor = !anchor_pebs_avalible(&ubi->free); + anchor = !anchor_pebs_available(&ubi->free); if (anchor) { e1 = find_anchor_wl_entry(&ubi->used); |