diff options
author | Eric Lescouet <Eric.Lescouet@virtuallogix.com> | 2010-04-24 17:21:52 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:30 -0400 |
commit | 27729aadd31dafddaaf64c24f8ef6d0ff750f3aa (patch) | |
tree | 20499b4132eaad36fb177b028600694fc4d0626a /drivers/usb/wusbcore | |
parent | 44ebd037c54f80db3121ac9f5fe6e677b76e11d5 (diff) |
USB: make hcd.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 hcd.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>
Diffstat (limited to 'drivers/usb/wusbcore')
-rw-r--r-- | drivers/usb/wusbcore/wusbhc.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/wusbcore/wusbhc.h b/drivers/usb/wusbcore/wusbhc.h index 759cda55f7c..3d94c4247f4 100644 --- a/drivers/usb/wusbcore/wusbhc.h +++ b/drivers/usb/wusbcore/wusbhc.h | |||
@@ -58,9 +58,7 @@ | |||
58 | #include <linux/mutex.h> | 58 | #include <linux/mutex.h> |
59 | #include <linux/kref.h> | 59 | #include <linux/kref.h> |
60 | #include <linux/workqueue.h> | 60 | #include <linux/workqueue.h> |
61 | /* FIXME: Yes, I know: BAD--it's not my fault the USB HC iface is not | 61 | #include <linux/usb/hcd.h> |
62 | * public */ | ||
63 | #include <linux/../../drivers/usb/core/hcd.h> | ||
64 | #include <linux/uwb.h> | 62 | #include <linux/uwb.h> |
65 | #include <linux/usb/wusb.h> | 63 | #include <linux/usb/wusb.h> |
66 | 64 | ||