summaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc
diff options
context:
space:
mode:
authorJan Engelhardt2008-01-22 20:51:11 +0100
committerGreg Kroah-Hartman2008-02-01 23:35:04 +0100
commit0b3f5fe673d4626ea91816ca9c486b43b39a2fd1 (patch)
tree56a7ccf80894b01d739ae2774c455700df674d86 /drivers/usb/misc
parentUSB: stop io performed by mos7720 upon close() (diff)
downloadkernel-qcow2-linux-0b3f5fe673d4626ea91816ca9c486b43b39a2fd1.tar.gz
kernel-qcow2-linux-0b3f5fe673d4626ea91816ca9c486b43b39a2fd1.tar.xz
kernel-qcow2-linux-0b3f5fe673d4626ea91816ca9c486b43b39a2fd1.zip
USB: constify function pointer tables
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r--drivers/usb/misc/iowarrior.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/misc/iowarrior.c b/drivers/usb/misc/iowarrior.c
index 764696ff1e8e..801070502cc1 100644
--- a/drivers/usb/misc/iowarrior.c
+++ b/drivers/usb/misc/iowarrior.c
@@ -715,7 +715,7 @@ static unsigned iowarrior_poll(struct file *file, poll_table * wait)
* would use "struct net_driver" instead, and a serial
* device would use "struct tty_driver".
*/
-static struct file_operations iowarrior_fops = {
+static const struct file_operations iowarrior_fops = {
.owner = THIS_MODULE,
.write = iowarrior_write,
.read = iowarrior_read,