diff options
author | Richard Weinberger <richard@nod.at> | 2016-05-27 09:43:58 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-05-27 12:30:27 +0200 |
commit | fd87416901d2121907a00c23f9efd7f0708378e3 (patch) | |
tree | e0b52281e392250fac668d4fd15c99044ba8602a | |
parent | 50b3e8625820be9e4e44de56ff4375153d2aefa7 (diff) | |
download | barebox-fd87416901d2121907a00c23f9efd7f0708378e3.tar.gz barebox-fd87416901d2121907a00c23f9efd7f0708378e3.tar.xz |
UBI: Fix trivial typo in __schedule_ubi_work
s/of/if/
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-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 cdfc41c0db..9c5b9b87f3 100644 --- a/drivers/mtd/ubi/wl.c +++ b/drivers/mtd/ubi/wl.c @@ -791,7 +791,7 @@ repeat: * @wrk: the work to schedule * * This function adds a work defined by @wrk to the tail of the pending works - * list. Can only be used of ubi->work_sem is already held in read mode! + * list. Can only be used if ubi->work_sem is already held in read mode! */ static void __schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) { |