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/core/config.c | |
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/core/config.c')
-rw-r--r-- | drivers/usb/core/config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/core/config.c b/drivers/usb/core/config.c index 0d3af6a6ee49..77e0dda3a2fb 100644 --- a/drivers/usb/core/config.c +++ b/drivers/usb/core/config.c | |||
@@ -1,12 +1,13 @@ | |||
1 | #include <linux/usb.h> | 1 | #include <linux/usb.h> |
2 | #include <linux/usb/ch9.h> | 2 | #include <linux/usb/ch9.h> |
3 | #include <linux/usb/hcd.h> | ||
3 | #include <linux/module.h> | 4 | #include <linux/module.h> |
4 | #include <linux/init.h> | 5 | #include <linux/init.h> |
5 | #include <linux/slab.h> | 6 | #include <linux/slab.h> |
6 | #include <linux/device.h> | 7 | #include <linux/device.h> |
7 | #include <asm/byteorder.h> | 8 | #include <asm/byteorder.h> |
8 | #include "usb.h" | 9 | #include "usb.h" |
9 | #include "hcd.h" | 10 | |
10 | 11 | ||
11 | #define USB_MAXALTSETTING 128 /* Hard limit */ | 12 | #define USB_MAXALTSETTING 128 /* Hard limit */ |
12 | #define USB_MAXENDPOINTS 30 /* Hard limit */ | 13 | #define USB_MAXENDPOINTS 30 /* Hard limit */ |