diff options
Diffstat (limited to 'drivers/mtd/ubi/wl.c')
-rw-r--r-- | drivers/mtd/ubi/wl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c index 248ff9e477e7..6e5315bf5e1b 100644 --- a/drivers/mtd/ubi/wl.c +++ b/drivers/mtd/ubi/wl.c | |||
@@ -208,7 +208,7 @@ struct ubi_work { | |||
208 | }; | 208 | }; |
209 | 209 | ||
210 | #ifdef CONFIG_MTD_UBI_DEBUG_PARANOID | 210 | #ifdef CONFIG_MTD_UBI_DEBUG_PARANOID |
211 | static int paranoid_check_ec(const struct ubi_device *ubi, int pnum, int ec); | 211 | static int paranoid_check_ec(struct ubi_device *ubi, int pnum, int ec); |
212 | static int paranoid_check_in_wl_tree(struct ubi_wl_entry *e, | 212 | static int paranoid_check_in_wl_tree(struct ubi_wl_entry *e, |
213 | struct rb_root *root); | 213 | struct rb_root *root); |
214 | #else | 214 | #else |
@@ -1625,7 +1625,7 @@ void ubi_wl_close(struct ubi_device *ubi) | |||
1625 | * is equivalent to @ec, %1 if not, and a negative error code if an error | 1625 | * is equivalent to @ec, %1 if not, and a negative error code if an error |
1626 | * occurred. | 1626 | * occurred. |
1627 | */ | 1627 | */ |
1628 | static int paranoid_check_ec(const struct ubi_device *ubi, int pnum, int ec) | 1628 | static int paranoid_check_ec(struct ubi_device *ubi, int pnum, int ec) |
1629 | { | 1629 | { |
1630 | int err; | 1630 | int err; |
1631 | long long read_ec; | 1631 | long long read_ec; |