aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sbus/char/display7seg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sbus/char/display7seg.c')
-rw-r--r--drivers/sbus/char/display7seg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sbus/char/display7seg.c b/drivers/sbus/char/display7seg.c
index a4909e0c7f83..2d14a29effe4 100644
--- a/drivers/sbus/char/display7seg.c
+++ b/drivers/sbus/char/display7seg.c
@@ -166,7 +166,7 @@ static long d7s_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
166 return error; 166 return error;
167} 167}
168 168
169static struct file_operations d7s_fops = { 169static const struct file_operations d7s_fops = {
170 .owner = THIS_MODULE, 170 .owner = THIS_MODULE,
171 .unlocked_ioctl = d7s_ioctl, 171 .unlocked_ioctl = d7s_ioctl,
172 .compat_ioctl = d7s_ioctl, 172 .compat_ioctl = d7s_ioctl,