summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/misc/lis3lv02d/lis3lv02d.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/misc/lis3lv02d/lis3lv02d.c')
-rw-r--r--kernel/drivers/misc/lis3lv02d/lis3lv02d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/misc/lis3lv02d/lis3lv02d.c b/kernel/drivers/misc/lis3lv02d/lis3lv02d.c
index 4739689d2..fb8705fc3 100644
--- a/kernel/drivers/misc/lis3lv02d/lis3lv02d.c
+++ b/kernel/drivers/misc/lis3lv02d/lis3lv02d.c
@@ -115,7 +115,7 @@ static int param_set_axis(const char *val, const struct kernel_param *kp)
return ret;
}
-static struct kernel_param_ops param_ops_axis = {
+static const struct kernel_param_ops param_ops_axis = {
.set = param_set_axis,
.get = param_get_int,
};