projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: nand: fix bug writing 1 byte less than page size
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
mtd
/
ubi
/
block.c
diff --git
a/drivers/mtd/ubi/block.c
b/drivers/mtd/ubi/block.c
index 1a92d30689e76e5cd1ce1a22bff6bbac6a1bbbbb..ebf46ad2d513edf5422e10d998043a14b9714747 100644
(file)
--- a/
drivers/mtd/ubi/block.c
+++ b/
drivers/mtd/ubi/block.c
@@
-162,7
+162,7
@@
static int __init ubiblock_set_param(const char *val,
return 0;
}
-static struct kernel_param_ops ubiblock_param_ops = {
+static
const
struct kernel_param_ops ubiblock_param_ops = {
.set = ubiblock_set_param,
};
module_param_cb(block, &ubiblock_param_ops, NULL, 0);