diff options
Diffstat (limited to 'drivers/sbus/char/vfc_dev.c')
-rw-r--r-- | drivers/sbus/char/vfc_dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sbus/char/vfc_dev.c b/drivers/sbus/char/vfc_dev.c index 386e7de0b7e3..37a04a0cecfa 100644 --- a/drivers/sbus/char/vfc_dev.c +++ b/drivers/sbus/char/vfc_dev.c | |||
@@ -44,7 +44,7 @@ | |||
44 | #include "vfc.h" | 44 | #include "vfc.h" |
45 | #include <asm/vfc_ioctls.h> | 45 | #include <asm/vfc_ioctls.h> |
46 | 46 | ||
47 | static struct file_operations vfc_fops; | 47 | static const struct file_operations vfc_fops; |
48 | struct vfc_dev **vfc_dev_lst; | 48 | struct vfc_dev **vfc_dev_lst; |
49 | static char vfcstr[]="vfc"; | 49 | static char vfcstr[]="vfc"; |
50 | static unsigned char saa9051_init_array[VFC_SAA9051_NR] = { | 50 | static unsigned char saa9051_init_array[VFC_SAA9051_NR] = { |
@@ -633,7 +633,7 @@ static int vfc_mmap(struct file *file, struct vm_area_struct *vma) | |||
633 | } | 633 | } |
634 | 634 | ||
635 | 635 | ||
636 | static struct file_operations vfc_fops = { | 636 | static const struct file_operations vfc_fops = { |
637 | .owner = THIS_MODULE, | 637 | .owner = THIS_MODULE, |
638 | .llseek = no_llseek, | 638 | .llseek = no_llseek, |
639 | .ioctl = vfc_ioctl, | 639 | .ioctl = vfc_ioctl, |