usbcore: store each usb_device's level in the tree
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 30 Aug 2006 19:46:48 +0000 (15:46 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:57 +0000 (11:58 -0700)
commitb6956ffa595db97656d5901ca8fec77ef272d41a
treede10e798f086de6d0fcda6f8d2423ef176d13839
parentd1ad4ea331e78a5ff90eda7718da31bcbc1a9c38
usbcore: store each usb_device's level in the tree

This patch (as778) adds a field to struct usb_device to store the
device's level in the USB tree.  In itself this number isn't really
important.  But the overhead is very low, and in a later patch it will
be used for preventing bogus warnings from the lockdep checker.

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