diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-04-02 09:07:01 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-04-02 09:07:01 -0300 |
commit | 1022e152b0486dbbc19e49c9bbbdec12a0637418 (patch) | |
tree | 76336142525555327148edf48612ac862266deab /linux/include | |
parent | ccc9a7ea538fa702d897eead24eefc64bd4960d9 (diff) | |
download | mediapointer-dvb-s2-1022e152b0486dbbc19e49c9bbbdec12a0637418.tar.gz mediapointer-dvb-s2-1022e152b0486dbbc19e49c9bbbdec12a0637418.tar.bz2 |
[PATCH] mark f_ops const in the inode
From: Arjan van de Ven <arjan@infradead.org>
Mark the f_ops members of inodes as const, as well as fix the
ripple-through this causes by places that copy this f_ops and then "do
stuff" with it.
kernel-sync
Signed-off-by: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'linux/include')
-rw-r--r-- | linux/include/linux/videodev2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/include/linux/videodev2.h b/linux/include/linux/videodev2.h index b87334d72..922980c61 100644 --- a/linux/include/linux/videodev2.h +++ b/linux/include/linux/videodev2.h @@ -84,7 +84,7 @@ struct video_device int minor; /* device ops + callbacks */ - struct file_operations *fops; + const struct file_operations *fops; void (*release)(struct video_device *vfd); #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) |