]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/mtd/ubi/block.c
kernel/params: constify struct kernel_param_ops uses
[mirror_ubuntu-artful-kernel.git] / drivers / mtd / ubi / block.c
index c9eb78f10a0db829ca396539ccf49331c9f06a1e..4968c071f3996c91dbc0aa108d0829fd0711cf5e 100644 (file)
@@ -161,7 +161,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);