diff options
author | Richard Weinberger <richard@nod.at> | 2014-09-16 09:30:35 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2014-09-30 02:29:37 -0400 |
commit | e3e00445d478f63f42a306e549f7358b6612110b (patch) | |
tree | 5ab15c47d793fa55d35f888b8af711798c614ff9 | |
parent | 849271a4e4b723c521df0f55d67614d8ffd5e125 (diff) |
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>
-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 c04b7f62fae5..6654f191868e 100644 --- a/drivers/mtd/ubi/wl.c +++ b/drivers/mtd/ubi/wl.c | |||
@@ -835,7 +835,7 @@ repeat: | |||
835 | * @wrk: the work to schedule | 835 | * @wrk: the work to schedule |
836 | * | 836 | * |
837 | * This function adds a work defined by @wrk to the tail of the pending works | 837 | * This function adds a work defined by @wrk to the tail of the pending works |
838 | * list. Can only be used of ubi->work_sem is already held in read mode! | 838 | * list. Can only be used if ubi->work_sem is already held in read mode! |
839 | */ | 839 | */ |
840 | static void __schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) | 840 | static void __schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) |
841 | { | 841 | { |