aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/drivers/harddog_kern.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/harddog_kern.c b/arch/um/drivers/harddog_kern.c
index 73c5caa7a150..55601687b3bc 100644
--- a/arch/um/drivers/harddog_kern.c
+++ b/arch/um/drivers/harddog_kern.c
@@ -145,7 +145,7 @@ static int harddog_ioctl(struct inode *inode, struct file *file,
145 } 145 }
146} 146}
147 147
148static struct file_operations harddog_fops = { 148static const struct file_operations harddog_fops = {
149 .owner = THIS_MODULE, 149 .owner = THIS_MODULE,
150 .write = harddog_write, 150 .write = harddog_write,
151 .ioctl = harddog_ioctl, 151 .ioctl = harddog_ioctl,