From d65d7e7ef3dc5e61e4dfaac54ec6d3e97f9a1108 Mon Sep 17 00:00:00 2001 From: Eric Lescouet Date: Sat, 24 Apr 2010 23:34:27 +0200 Subject: [PATCH] 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: Eric Lescouet Cc: Alan Stern Signed-off-by: Greg Kroah-Hartman --- include/linux/usb/hcd.h | 2 +- {drivers/usb/core => include/linux/usb}/hub.h | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {drivers/usb/core => include/linux/usb}/hub.h (100%) diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h index c7e575cb3149..ca228f00b826 100644 --- a/include/linux/usb/hcd.h +++ b/include/linux/usb/hcd.h @@ -374,7 +374,7 @@ extern void usb_destroy_configuration(struct usb_device *dev); * HCD Root Hub support */ -#include +#include /* (shifted) direction/type/recipient from the USB 2.0 spec, table 9.2 */ #define DeviceRequest \ diff --git a/drivers/usb/core/hub.h b/include/linux/usb/hub.h similarity index 100% rename from drivers/usb/core/hub.h rename to include/linux/usb/hub.h -- 2.39.5