diff options
| author | Heiner Kallweit <hkallweit1@gmail.com> | 2016-01-25 14:30:30 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-03 16:26:30 -0500 |
| commit | 5363de75307e333d89df7531f9dd8310d973ecdb (patch) | |
| tree | 5c90ec1dbcf6d1626984ec6306db7d73ee8dd3ab /include/linux/usb.h | |
| parent | d78540419866887345cec480016b0f87f6a5aca2 (diff) | |
usb: core: switch bus numbering to using idr
USB bus numbering is based on directly dealing with bitmaps and
defines a separate list of busses.
This can be simplified and unified by using existing idr functionality.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb.h')
| -rw-r--r-- | include/linux/usb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index 89533ba38691..0d348fa84a66 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h | |||
| @@ -375,7 +375,6 @@ struct usb_bus { | |||
| 375 | struct usb_devmap devmap; /* device address allocation map */ | 375 | struct usb_devmap devmap; /* device address allocation map */ |
| 376 | struct usb_device *root_hub; /* Root hub */ | 376 | struct usb_device *root_hub; /* Root hub */ |
| 377 | struct usb_bus *hs_companion; /* Companion EHCI bus, if any */ | 377 | struct usb_bus *hs_companion; /* Companion EHCI bus, if any */ |
| 378 | struct list_head bus_list; /* list of busses */ | ||
| 379 | 378 | ||
| 380 | struct mutex usb_address0_mutex; /* unaddressed device mutex */ | 379 | struct mutex usb_address0_mutex; /* unaddressed device mutex */ |
| 381 | 380 | ||
