]> git.baikalelectronics.ru Git - kernel.git/commit
USB: change name of spinlock in hcd.c
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 18 Jul 2007 16:14:24 +0000 (12:14 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 20 Jul 2007 00:46:08 +0000 (17:46 -0700)
commitbd4f321375c37005f593602c4021543892acea5c
tree6d62ebd0671e38403011d87ed03a127a151c7f46
parent82d791436c61cd9305d81fa87ae6ff31b56b2f59
USB: change name of spinlock in hcd.c

This patch (as940 renames hcd_data_lock in hcd.c to hcd_urb_list_lock,
which is more descriptive of the lock's job.  It also introduces a
convenient inline routine for testing whether a particular USB device
is a root hub.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hcd.c