Skip to content

Commit

Permalink
USB: make hub.h public (drivers dependency)
Browse files Browse the repository at this point in the history
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: Eric Lescouet <eric@lescouet.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Eric Lescouet authored and Greg Kroah-Hartman committed May 20, 2010
1 parent 27729aa commit d65d7e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/usb/hcd.h
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ extern void usb_destroy_configuration(struct usb_device *dev);
* 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 */
#define DeviceRequest \
Expand Down
File renamed without changes.

0 comments on commit d65d7e7

Please sign in to comment.