Commit d65d7e7e authored by Eric Lescouet's avatar Eric Lescouet Committed by Greg Kroah-Hartman

USB: make hub.h public (drivers dependency)

The usbcore headers: hcd.h and hub.h are shared between usbcore,
HCDs and a couple of other drivers (e.g. USBIP modules).
So, it makes sense to move them into a more public location and
to cleanup dependency of those modules on kernel internal headers.
This patch moves hub.h from drivers/usb/core into include/linux/usb/
Signed-of-by: default avatarEric Lescouet <eric@lescouet.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 27729aad
...@@ -374,7 +374,7 @@ extern void usb_destroy_configuration(struct usb_device *dev); ...@@ -374,7 +374,7 @@ extern void usb_destroy_configuration(struct usb_device *dev);
* HCD Root Hub support * HCD Root Hub support
*/ */
#include <linux/../../drivers/usb/core/hub.h> #include <linux/usb/hub.h>
/* (shifted) direction/type/recipient from the USB 2.0 spec, table 9.2 */ /* (shifted) direction/type/recipient from the USB 2.0 spec, table 9.2 */
#define DeviceRequest \ #define DeviceRequest \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment