diff options
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r-- | drivers/usb/misc/adutux.c | 2 | ||||
-rw-r--r-- | drivers/usb/misc/ftdi-elan.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/misc/adutux.c b/drivers/usb/misc/adutux.c index af2934e016a7..75bfab95ab3c 100644 --- a/drivers/usb/misc/adutux.c +++ b/drivers/usb/misc/adutux.c | |||
@@ -644,7 +644,7 @@ exit: | |||
644 | } | 644 | } |
645 | 645 | ||
646 | /* file operations needed when we register this driver */ | 646 | /* file operations needed when we register this driver */ |
647 | static struct file_operations adu_fops = { | 647 | static const struct file_operations adu_fops = { |
648 | .owner = THIS_MODULE, | 648 | .owner = THIS_MODULE, |
649 | .read = adu_read, | 649 | .read = adu_read, |
650 | .write = adu_write, | 650 | .write = adu_write, |
diff --git a/drivers/usb/misc/ftdi-elan.c b/drivers/usb/misc/ftdi-elan.c index 41c0161abdb9..0c1d66ddb812 100644 --- a/drivers/usb/misc/ftdi-elan.c +++ b/drivers/usb/misc/ftdi-elan.c | |||
@@ -1209,7 +1209,7 @@ error_1: | |||
1209 | return retval; | 1209 | return retval; |
1210 | } | 1210 | } |
1211 | 1211 | ||
1212 | static struct file_operations ftdi_elan_fops = { | 1212 | static const struct file_operations ftdi_elan_fops = { |
1213 | .owner = THIS_MODULE, | 1213 | .owner = THIS_MODULE, |
1214 | .llseek = no_llseek, | 1214 | .llseek = no_llseek, |
1215 | .ioctl = ftdi_elan_ioctl, | 1215 | .ioctl = ftdi_elan_ioctl, |