summaryrefslogtreecommitdiffstats
path: root/include/linux/usb/hcd.h
diff options
context:
space:
mode:
authorHeiner Kallweit2016-02-03 23:35:23 +0100
committerGreg Kroah-Hartman2016-02-07 06:55:57 +0100
commita4b5d606b957c6a58e991de63fe999492de1ab92 (patch)
treec7ce5015457ad2acb57255929633180425dde2cf /include/linux/usb/hcd.h
parentUSB: EHCI: fix compiler warning introduced by commit 2a40f324541e (diff)
downloadkernel-qcow2-linux-a4b5d606b957c6a58e991de63fe999492de1ab92.tar.gz
kernel-qcow2-linux-a4b5d606b957c6a58e991de63fe999492de1ab92.tar.xz
kernel-qcow2-linux-a4b5d606b957c6a58e991de63fe999492de1ab92.zip
usb: core: rename mutex usb_bus_list_lock to usb_bus_idr_lock
Now that usb_bus_list has been removed and switched to idr rename the related mutex accordingly. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb/hcd.h')
-rw-r--r--include/linux/usb/hcd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h
index c293dd044599..b98f831dcda3 100644
--- a/include/linux/usb/hcd.h
+++ b/include/linux/usb/hcd.h
@@ -632,7 +632,7 @@ extern void usb_set_device_state(struct usb_device *udev,
/* exported only within usbcore */
extern struct idr usb_bus_idr;
-extern struct mutex usb_bus_list_lock;
+extern struct mutex usb_bus_idr_lock;
extern wait_queue_head_t usb_kill_urb_queue;