aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2010-06-01 17:04:41 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-10 17:35:35 -0400
commitc532b29a6f6d31e84a7c88f995eebdc75ebd4248 (patch)
tree5b8dbfae37f6c3c1530ee3651c9d28e00bd15f5e /include/linux
parent6e12ea4658487ba9c746e95b31014cb89f63703b (diff)
USB-BKL: Convert usb_driver ioctl to unlocked_ioctl
And audit all the users. None needed the BKL. That was easy because there was only very few around. Tested with allmodconfig build on x86-64 Signed-off-by: Andi Kleen <ak@linux.intel.com> Cc: Arnd Bergmann <arnd@arndb.de> From: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index d5922a877994..e6cbc34901f4 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -843,7 +843,7 @@ struct usb_driver {
843 843
844 void (*disconnect) (struct usb_interface *intf); 844 void (*disconnect) (struct usb_interface *intf);
845 845
846 int (*ioctl) (struct usb_interface *intf, unsigned int code, 846 int (*unlocked_ioctl) (struct usb_interface *intf, unsigned int code,
847 void *buf); 847 void *buf);
848 848
849 int (*suspend) (struct usb_interface *intf, pm_message_t message); 849 int (*suspend) (struct usb_interface *intf, pm_message_t message);