X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fmtd%2Fubi%2Fblock.c;h=ebf46ad2d513edf5422e10d998043a14b9714747;hb=daa56e80f38501651e9fd9d7f76920c4e9f5c6e9;hp=1a92d30689e76e5cd1ce1a22bff6bbac6a1bbbbb;hpb=06be5eefe1192eb8ce8d07497f67595b6bfe9741;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c index 1a92d30689e7..ebf46ad2d513 100644 --- 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);