aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 883eaacfd924..2620a8c63571 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2450,7 +2450,7 @@ static int __fops ## _open(struct inode *inode, struct file *file) \
2450 __simple_attr_check_format(__fmt, 0ull); \ 2450 __simple_attr_check_format(__fmt, 0ull); \
2451 return simple_attr_open(inode, file, __get, __set, __fmt); \ 2451 return simple_attr_open(inode, file, __get, __set, __fmt); \
2452} \ 2452} \
2453static struct file_operations __fops = { \ 2453static const struct file_operations __fops = { \
2454 .owner = THIS_MODULE, \ 2454 .owner = THIS_MODULE, \
2455 .open = __fops ## _open, \ 2455 .open = __fops ## _open, \
2456 .release = simple_attr_release, \ 2456 .release = simple_attr_release, \