summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Lescouet <Eric.Lescouet@virtuallogix.com>2010-04-24 23:34:27 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 13:21:30 -0700
commitd65d7e7ef3dc5e61e4dfaac54ec6d3e97f9a1108 (patch)
treec6dc49e59baea2c3f20fb1937799666a7c828284
parent27729aadd31dafddaaf64c24f8ef6d0ff750f3aa (diff)
downloadop-kernel-dev-d65d7e7ef3dc5e61e4dfaac54ec6d3e97f9a1108.zip
op-kernel-dev-d65d7e7ef3dc5e61e4dfaac54ec6d3e97f9a1108.tar.gz
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 <eric@lescouet.org> Cc: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--include/linux/usb/hcd.h2
-rw-r--r--include/linux/usb/hub.h (renamed from drivers/usb/core/hub.h)0
2 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h
index c7e575c..ca228f0 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 <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 \
diff --git a/drivers/usb/core/hub.h b/include/linux/usb/hub.h
index de8081f..de8081f 100644
--- a/drivers/usb/core/hub.h
+++ b/include/linux/usb/hub.h
OpenPOWER on IntegriCloud