X-Git-Url: http://ftp.safe.ca/?p=safe%2Fjmp%2Flinux-2.6;a=blobdiff_plain;f=include%2Flinux%2Ffs.h;h=a1e6899d4b6ca70a46518a2b75fc2f0e2a0aac38;hp=2adaa2529f184fda637a6a2aeea55bda41693104;hb=828c09509b9695271bcbdc53e9fc9a6a737148d2;hpb=1c4115e595dec42aa0e81ba47ef46e35b34ed428 diff --git a/include/linux/fs.h b/include/linux/fs.h index 2adaa25..a1e6899 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2446,7 +2446,7 @@ static int __fops ## _open(struct inode *inode, struct file *file) \ __simple_attr_check_format(__fmt, 0ull); \ return simple_attr_open(inode, file, __get, __set, __fmt); \ } \ -static struct file_operations __fops = { \ +static const struct file_operations __fops = { \ .owner = THIS_MODULE, \ .open = __fops ## _open, \ .release = simple_attr_release, \