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/host | |
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/host')
-rw-r--r-- | drivers/usb/host/ehci-hcd.c | 3 | ||||
-rw-r--r-- | drivers/usb/host/fhci-dbg.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/fhci-hcd.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/fhci-hub.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/fhci-mem.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/fhci-q.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/fhci-sched.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/fhci-tds.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/fhci.h | 2 | ||||
-rw-r--r-- | drivers/usb/host/imx21-hcd.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/isp116x-hcd.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/isp1362-hcd.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/isp1760-hcd.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/isp1760-if.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/ohci-hcd.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/oxu210hp-hcd.c | 3 | ||||
-rw-r--r-- | drivers/usb/host/r8a66597-hcd.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/sl811-hcd.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/u132-hcd.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/uhci-hcd.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/xhci.h | 2 |
21 files changed, 21 insertions, 23 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 13ead00aecd5..ef3e88f0b3c3 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c | |||
@@ -31,13 +31,12 @@ | |||
31 | #include <linux/list.h> | 31 | #include <linux/list.h> |
32 | #include <linux/interrupt.h> | 32 | #include <linux/interrupt.h> |
33 | #include <linux/usb.h> | 33 | #include <linux/usb.h> |
34 | #include <linux/usb/hcd.h> | ||
34 | #include <linux/moduleparam.h> | 35 | #include <linux/moduleparam.h> |
35 | #include <linux/dma-mapping.h> | 36 | #include <linux/dma-mapping.h> |
36 | #include <linux/debugfs.h> | 37 | #include <linux/debugfs.h> |
37 | #include <linux/slab.h> | 38 | #include <linux/slab.h> |
38 | 39 | ||
39 | #include "../core/hcd.h" | ||
40 | |||
41 | #include <asm/byteorder.h> | 40 | #include <asm/byteorder.h> |
42 | #include <asm/io.h> | 41 | #include <asm/io.h> |
43 | #include <asm/irq.h> | 42 | #include <asm/irq.h> |
diff --git a/drivers/usb/host/fhci-dbg.c b/drivers/usb/host/fhci-dbg.c index e799f86dab11..6fe550049119 100644 --- a/drivers/usb/host/fhci-dbg.c +++ b/drivers/usb/host/fhci-dbg.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include <linux/debugfs.h> | 20 | #include <linux/debugfs.h> |
21 | #include <linux/seq_file.h> | 21 | #include <linux/seq_file.h> |
22 | #include <linux/usb.h> | 22 | #include <linux/usb.h> |
23 | #include "../core/hcd.h" | 23 | #include <linux/usb/hcd.h> |
24 | #include "fhci.h" | 24 | #include "fhci.h" |
25 | 25 | ||
26 | void fhci_dbg_isr(struct fhci_hcd *fhci, int usb_er) | 26 | void fhci_dbg_isr(struct fhci_hcd *fhci, int usb_er) |
diff --git a/drivers/usb/host/fhci-hcd.c b/drivers/usb/host/fhci-hcd.c index 15379c636143..90453379a434 100644 --- a/drivers/usb/host/fhci-hcd.c +++ b/drivers/usb/host/fhci-hcd.c | |||
@@ -25,12 +25,12 @@ | |||
25 | #include <linux/interrupt.h> | 25 | #include <linux/interrupt.h> |
26 | #include <linux/io.h> | 26 | #include <linux/io.h> |
27 | #include <linux/usb.h> | 27 | #include <linux/usb.h> |
28 | #include <linux/usb/hcd.h> | ||
28 | #include <linux/of_platform.h> | 29 | #include <linux/of_platform.h> |
29 | #include <linux/of_gpio.h> | 30 | #include <linux/of_gpio.h> |
30 | #include <linux/slab.h> | 31 | #include <linux/slab.h> |
31 | #include <asm/qe.h> | 32 | #include <asm/qe.h> |
32 | #include <asm/fsl_gtm.h> | 33 | #include <asm/fsl_gtm.h> |
33 | #include "../core/hcd.h" | ||
34 | #include "fhci.h" | 34 | #include "fhci.h" |
35 | 35 | ||
36 | void fhci_start_sof_timer(struct fhci_hcd *fhci) | 36 | void fhci_start_sof_timer(struct fhci_hcd *fhci) |
diff --git a/drivers/usb/host/fhci-hub.c b/drivers/usb/host/fhci-hub.c index 0cfaedc3e124..348fe62e94f7 100644 --- a/drivers/usb/host/fhci-hub.c +++ b/drivers/usb/host/fhci-hub.c | |||
@@ -22,9 +22,9 @@ | |||
22 | #include <linux/errno.h> | 22 | #include <linux/errno.h> |
23 | #include <linux/io.h> | 23 | #include <linux/io.h> |
24 | #include <linux/usb.h> | 24 | #include <linux/usb.h> |
25 | #include <linux/usb/hcd.h> | ||
25 | #include <linux/gpio.h> | 26 | #include <linux/gpio.h> |
26 | #include <asm/qe.h> | 27 | #include <asm/qe.h> |
27 | #include "../core/hcd.h" | ||
28 | #include "fhci.h" | 28 | #include "fhci.h" |
29 | 29 | ||
30 | /* virtual root hub specific descriptor */ | 30 | /* virtual root hub specific descriptor */ |
diff --git a/drivers/usb/host/fhci-mem.c b/drivers/usb/host/fhci-mem.c index 5591bfb499d1..b0b88f57a5ac 100644 --- a/drivers/usb/host/fhci-mem.c +++ b/drivers/usb/host/fhci-mem.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | #include <linux/list.h> | 22 | #include <linux/list.h> |
23 | #include <linux/usb.h> | 23 | #include <linux/usb.h> |
24 | #include "../core/hcd.h" | 24 | #include <linux/usb/hcd.h> |
25 | #include "fhci.h" | 25 | #include "fhci.h" |
26 | 26 | ||
27 | static void init_td(struct td *td) | 27 | static void init_td(struct td *td) |
diff --git a/drivers/usb/host/fhci-q.c b/drivers/usb/host/fhci-q.c index f73c92359beb..03be7494a476 100644 --- a/drivers/usb/host/fhci-q.c +++ b/drivers/usb/host/fhci-q.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/slab.h> | 22 | #include <linux/slab.h> |
23 | #include <linux/list.h> | 23 | #include <linux/list.h> |
24 | #include <linux/usb.h> | 24 | #include <linux/usb.h> |
25 | #include "../core/hcd.h" | 25 | #include <linux/usb/hcd.h> |
26 | #include "fhci.h" | 26 | #include "fhci.h" |
27 | 27 | ||
28 | /* maps the hardware error code to the USB error code */ | 28 | /* maps the hardware error code to the USB error code */ |
diff --git a/drivers/usb/host/fhci-sched.c b/drivers/usb/host/fhci-sched.c index ff43747a614f..4f2cbdcc0273 100644 --- a/drivers/usb/host/fhci-sched.c +++ b/drivers/usb/host/fhci-sched.c | |||
@@ -24,9 +24,9 @@ | |||
24 | #include <linux/interrupt.h> | 24 | #include <linux/interrupt.h> |
25 | #include <linux/io.h> | 25 | #include <linux/io.h> |
26 | #include <linux/usb.h> | 26 | #include <linux/usb.h> |
27 | #include <linux/usb/hcd.h> | ||
27 | #include <asm/qe.h> | 28 | #include <asm/qe.h> |
28 | #include <asm/fsl_gtm.h> | 29 | #include <asm/fsl_gtm.h> |
29 | #include "../core/hcd.h" | ||
30 | #include "fhci.h" | 30 | #include "fhci.h" |
31 | 31 | ||
32 | static void recycle_frame(struct fhci_usb *usb, struct packet *pkt) | 32 | static void recycle_frame(struct fhci_usb *usb, struct packet *pkt) |
diff --git a/drivers/usb/host/fhci-tds.c b/drivers/usb/host/fhci-tds.c index 57013479d7f7..7be548ca2183 100644 --- a/drivers/usb/host/fhci-tds.c +++ b/drivers/usb/host/fhci-tds.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/list.h> | 22 | #include <linux/list.h> |
23 | #include <linux/io.h> | 23 | #include <linux/io.h> |
24 | #include <linux/usb.h> | 24 | #include <linux/usb.h> |
25 | #include "../core/hcd.h" | 25 | #include <linux/usb/hcd.h> |
26 | #include "fhci.h" | 26 | #include "fhci.h" |
27 | 27 | ||
28 | #define DUMMY_BD_BUFFER 0xdeadbeef | 28 | #define DUMMY_BD_BUFFER 0xdeadbeef |
diff --git a/drivers/usb/host/fhci.h b/drivers/usb/host/fhci.h index 72dae1c5ab38..649ab07308f2 100644 --- a/drivers/usb/host/fhci.h +++ b/drivers/usb/host/fhci.h | |||
@@ -25,8 +25,8 @@ | |||
25 | #include <linux/kfifo.h> | 25 | #include <linux/kfifo.h> |
26 | #include <linux/io.h> | 26 | #include <linux/io.h> |
27 | #include <linux/usb.h> | 27 | #include <linux/usb.h> |
28 | #include <linux/usb/hcd.h> | ||
28 | #include <asm/qe.h> | 29 | #include <asm/qe.h> |
29 | #include "../core/hcd.h" | ||
30 | 30 | ||
31 | #define USB_CLOCK 48000000 | 31 | #define USB_CLOCK 48000000 |
32 | 32 | ||
diff --git a/drivers/usb/host/imx21-hcd.c b/drivers/usb/host/imx21-hcd.c index 8a12f297645f..ca0e98d8e1f4 100644 --- a/drivers/usb/host/imx21-hcd.c +++ b/drivers/usb/host/imx21-hcd.c | |||
@@ -56,8 +56,8 @@ | |||
56 | #include <linux/platform_device.h> | 56 | #include <linux/platform_device.h> |
57 | #include <linux/slab.h> | 57 | #include <linux/slab.h> |
58 | #include <linux/usb.h> | 58 | #include <linux/usb.h> |
59 | #include <linux/usb/hcd.h> | ||
59 | 60 | ||
60 | #include "../core/hcd.h" | ||
61 | #include "imx21-hcd.h" | 61 | #include "imx21-hcd.h" |
62 | 62 | ||
63 | #ifdef DEBUG | 63 | #ifdef DEBUG |
diff --git a/drivers/usb/host/isp116x-hcd.c b/drivers/usb/host/isp116x-hcd.c index 92de71dc7729..d9e82123de2a 100644 --- a/drivers/usb/host/isp116x-hcd.c +++ b/drivers/usb/host/isp116x-hcd.c | |||
@@ -65,6 +65,7 @@ | |||
65 | #include <linux/slab.h> | 65 | #include <linux/slab.h> |
66 | #include <linux/usb.h> | 66 | #include <linux/usb.h> |
67 | #include <linux/usb/isp116x.h> | 67 | #include <linux/usb/isp116x.h> |
68 | #include <linux/usb/hcd.h> | ||
68 | #include <linux/platform_device.h> | 69 | #include <linux/platform_device.h> |
69 | 70 | ||
70 | #include <asm/io.h> | 71 | #include <asm/io.h> |
@@ -72,7 +73,6 @@ | |||
72 | #include <asm/system.h> | 73 | #include <asm/system.h> |
73 | #include <asm/byteorder.h> | 74 | #include <asm/byteorder.h> |
74 | 75 | ||
75 | #include "../core/hcd.h" | ||
76 | #include "isp116x.h" | 76 | #include "isp116x.h" |
77 | 77 | ||
78 | #define DRIVER_VERSION "03 Nov 2005" | 78 | #define DRIVER_VERSION "03 Nov 2005" |
diff --git a/drivers/usb/host/isp1362-hcd.c b/drivers/usb/host/isp1362-hcd.c index 217fb5170200..acc157da7275 100644 --- a/drivers/usb/host/isp1362-hcd.c +++ b/drivers/usb/host/isp1362-hcd.c | |||
@@ -77,6 +77,7 @@ | |||
77 | #include <linux/interrupt.h> | 77 | #include <linux/interrupt.h> |
78 | #include <linux/usb.h> | 78 | #include <linux/usb.h> |
79 | #include <linux/usb/isp1362.h> | 79 | #include <linux/usb/isp1362.h> |
80 | #include <linux/usb/hcd.h> | ||
80 | #include <linux/platform_device.h> | 81 | #include <linux/platform_device.h> |
81 | #include <linux/pm.h> | 82 | #include <linux/pm.h> |
82 | #include <linux/io.h> | 83 | #include <linux/io.h> |
@@ -95,7 +96,6 @@ module_param(dbg_level, int, 0); | |||
95 | #define STUB_DEBUG_FILE | 96 | #define STUB_DEBUG_FILE |
96 | #endif | 97 | #endif |
97 | 98 | ||
98 | #include "../core/hcd.h" | ||
99 | #include "../core/usb.h" | 99 | #include "../core/usb.h" |
100 | #include "isp1362.h" | 100 | #include "isp1362.h" |
101 | 101 | ||
diff --git a/drivers/usb/host/isp1760-hcd.c b/drivers/usb/host/isp1760-hcd.c index 9f01293600b0..c7ac1d97d176 100644 --- a/drivers/usb/host/isp1760-hcd.c +++ b/drivers/usb/host/isp1760-hcd.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/slab.h> | 14 | #include <linux/slab.h> |
15 | #include <linux/list.h> | 15 | #include <linux/list.h> |
16 | #include <linux/usb.h> | 16 | #include <linux/usb.h> |
17 | #include <linux/usb/hcd.h> | ||
17 | #include <linux/debugfs.h> | 18 | #include <linux/debugfs.h> |
18 | #include <linux/uaccess.h> | 19 | #include <linux/uaccess.h> |
19 | #include <linux/io.h> | 20 | #include <linux/io.h> |
@@ -21,7 +22,6 @@ | |||
21 | #include <asm/unaligned.h> | 22 | #include <asm/unaligned.h> |
22 | #include <asm/cacheflush.h> | 23 | #include <asm/cacheflush.h> |
23 | 24 | ||
24 | #include "../core/hcd.h" | ||
25 | #include "isp1760-hcd.h" | 25 | #include "isp1760-hcd.h" |
26 | 26 | ||
27 | static struct kmem_cache *qtd_cachep; | 27 | static struct kmem_cache *qtd_cachep; |
diff --git a/drivers/usb/host/isp1760-if.c b/drivers/usb/host/isp1760-if.c index 4293cfd28d61..42a094605c92 100644 --- a/drivers/usb/host/isp1760-if.c +++ b/drivers/usb/host/isp1760-if.c | |||
@@ -13,8 +13,8 @@ | |||
13 | #include <linux/io.h> | 13 | #include <linux/io.h> |
14 | #include <linux/platform_device.h> | 14 | #include <linux/platform_device.h> |
15 | #include <linux/usb/isp1760.h> | 15 | #include <linux/usb/isp1760.h> |
16 | #include <linux/usb/hcd.h> | ||
16 | 17 | ||
17 | #include "../core/hcd.h" | ||
18 | #include "isp1760-hcd.h" | 18 | #include "isp1760-hcd.h" |
19 | 19 | ||
20 | #ifdef CONFIG_PPC_OF | 20 | #ifdef CONFIG_PPC_OF |
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index afe59be23645..d15d2478493e 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c | |||
@@ -32,6 +32,7 @@ | |||
32 | #include <linux/list.h> | 32 | #include <linux/list.h> |
33 | #include <linux/usb.h> | 33 | #include <linux/usb.h> |
34 | #include <linux/usb/otg.h> | 34 | #include <linux/usb/otg.h> |
35 | #include <linux/usb/hcd.h> | ||
35 | #include <linux/dma-mapping.h> | 36 | #include <linux/dma-mapping.h> |
36 | #include <linux/dmapool.h> | 37 | #include <linux/dmapool.h> |
37 | #include <linux/workqueue.h> | 38 | #include <linux/workqueue.h> |
@@ -43,7 +44,6 @@ | |||
43 | #include <asm/unaligned.h> | 44 | #include <asm/unaligned.h> |
44 | #include <asm/byteorder.h> | 45 | #include <asm/byteorder.h> |
45 | 46 | ||
46 | #include "../core/hcd.h" | ||
47 | 47 | ||
48 | #define DRIVER_AUTHOR "Roman Weissgaerber, David Brownell" | 48 | #define DRIVER_AUTHOR "Roman Weissgaerber, David Brownell" |
49 | #define DRIVER_DESC "USB 1.1 'Open' Host Controller (OHCI) Driver" | 49 | #define DRIVER_DESC "USB 1.1 'Open' Host Controller (OHCI) Driver" |
diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c index e62b30b3e429..2891203200ce 100644 --- a/drivers/usb/host/oxu210hp-hcd.c +++ b/drivers/usb/host/oxu210hp-hcd.c | |||
@@ -34,12 +34,11 @@ | |||
34 | #include <linux/list.h> | 34 | #include <linux/list.h> |
35 | #include <linux/interrupt.h> | 35 | #include <linux/interrupt.h> |
36 | #include <linux/usb.h> | 36 | #include <linux/usb.h> |
37 | #include <linux/usb/hcd.h> | ||
37 | #include <linux/moduleparam.h> | 38 | #include <linux/moduleparam.h> |
38 | #include <linux/dma-mapping.h> | 39 | #include <linux/dma-mapping.h> |
39 | #include <linux/io.h> | 40 | #include <linux/io.h> |
40 | 41 | ||
41 | #include "../core/hcd.h" | ||
42 | |||
43 | #include <asm/irq.h> | 42 | #include <asm/irq.h> |
44 | #include <asm/system.h> | 43 | #include <asm/system.h> |
45 | #include <asm/unaligned.h> | 44 | #include <asm/unaligned.h> |
diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c index d478ffad59b4..1398de140ead 100644 --- a/drivers/usb/host/r8a66597-hcd.c +++ b/drivers/usb/host/r8a66597-hcd.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <linux/list.h> | 33 | #include <linux/list.h> |
34 | #include <linux/interrupt.h> | 34 | #include <linux/interrupt.h> |
35 | #include <linux/usb.h> | 35 | #include <linux/usb.h> |
36 | #include <linux/usb/hcd.h> | ||
36 | #include <linux/platform_device.h> | 37 | #include <linux/platform_device.h> |
37 | #include <linux/io.h> | 38 | #include <linux/io.h> |
38 | #include <linux/mm.h> | 39 | #include <linux/mm.h> |
@@ -40,7 +41,6 @@ | |||
40 | #include <linux/slab.h> | 41 | #include <linux/slab.h> |
41 | #include <asm/cacheflush.h> | 42 | #include <asm/cacheflush.h> |
42 | 43 | ||
43 | #include "../core/hcd.h" | ||
44 | #include "r8a66597.h" | 44 | #include "r8a66597.h" |
45 | 45 | ||
46 | MODULE_DESCRIPTION("R8A66597 USB Host Controller Driver"); | 46 | MODULE_DESCRIPTION("R8A66597 USB Host Controller Driver"); |
diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index 3b867a8af7b2..8f2f477890c4 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c | |||
@@ -45,6 +45,7 @@ | |||
45 | #include <linux/interrupt.h> | 45 | #include <linux/interrupt.h> |
46 | #include <linux/usb.h> | 46 | #include <linux/usb.h> |
47 | #include <linux/usb/sl811.h> | 47 | #include <linux/usb/sl811.h> |
48 | #include <linux/usb/hcd.h> | ||
48 | #include <linux/platform_device.h> | 49 | #include <linux/platform_device.h> |
49 | 50 | ||
50 | #include <asm/io.h> | 51 | #include <asm/io.h> |
@@ -53,7 +54,6 @@ | |||
53 | #include <asm/byteorder.h> | 54 | #include <asm/byteorder.h> |
54 | #include <asm/unaligned.h> | 55 | #include <asm/unaligned.h> |
55 | 56 | ||
56 | #include "../core/hcd.h" | ||
57 | #include "sl811.h" | 57 | #include "sl811.h" |
58 | 58 | ||
59 | 59 | ||
diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c index 228f2b070f2b..fbd7adafd61c 100644 --- a/drivers/usb/host/u132-hcd.c +++ b/drivers/usb/host/u132-hcd.c | |||
@@ -49,6 +49,7 @@ | |||
49 | #include <linux/list.h> | 49 | #include <linux/list.h> |
50 | #include <linux/interrupt.h> | 50 | #include <linux/interrupt.h> |
51 | #include <linux/usb.h> | 51 | #include <linux/usb.h> |
52 | #include <linux/usb/hcd.h> | ||
52 | #include <linux/workqueue.h> | 53 | #include <linux/workqueue.h> |
53 | #include <linux/platform_device.h> | 54 | #include <linux/platform_device.h> |
54 | #include <linux/mutex.h> | 55 | #include <linux/mutex.h> |
@@ -56,7 +57,6 @@ | |||
56 | #include <asm/irq.h> | 57 | #include <asm/irq.h> |
57 | #include <asm/system.h> | 58 | #include <asm/system.h> |
58 | #include <asm/byteorder.h> | 59 | #include <asm/byteorder.h> |
59 | #include "../core/hcd.h" | ||
60 | 60 | ||
61 | /* FIXME ohci.h is ONLY for internal use by the OHCI driver. | 61 | /* FIXME ohci.h is ONLY for internal use by the OHCI driver. |
62 | * If you're going to try stuff like this, you need to split | 62 | * If you're going to try stuff like this, you need to split |
diff --git a/drivers/usb/host/uhci-hcd.c b/drivers/usb/host/uhci-hcd.c index 09197067fe6b..6637e52736dd 100644 --- a/drivers/usb/host/uhci-hcd.c +++ b/drivers/usb/host/uhci-hcd.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #include <linux/dmapool.h> | 38 | #include <linux/dmapool.h> |
39 | #include <linux/dma-mapping.h> | 39 | #include <linux/dma-mapping.h> |
40 | #include <linux/usb.h> | 40 | #include <linux/usb.h> |
41 | #include <linux/usb/hcd.h> | ||
41 | #include <linux/bitops.h> | 42 | #include <linux/bitops.h> |
42 | #include <linux/dmi.h> | 43 | #include <linux/dmi.h> |
43 | 44 | ||
@@ -46,7 +47,6 @@ | |||
46 | #include <asm/irq.h> | 47 | #include <asm/irq.h> |
47 | #include <asm/system.h> | 48 | #include <asm/system.h> |
48 | 49 | ||
49 | #include "../core/hcd.h" | ||
50 | #include "uhci-hcd.h" | 50 | #include "uhci-hcd.h" |
51 | #include "pci-quirks.h" | 51 | #include "pci-quirks.h" |
52 | 52 | ||
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index ea389e9a4931..a7c4e1122902 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h | |||
@@ -26,8 +26,8 @@ | |||
26 | #include <linux/usb.h> | 26 | #include <linux/usb.h> |
27 | #include <linux/timer.h> | 27 | #include <linux/timer.h> |
28 | #include <linux/kernel.h> | 28 | #include <linux/kernel.h> |
29 | #include <linux/usb/hcd.h> | ||
29 | 30 | ||
30 | #include "../core/hcd.h" | ||
31 | /* Code sharing between pci-quirks and xhci hcd */ | 31 | /* Code sharing between pci-quirks and xhci hcd */ |
32 | #include "xhci-ext-caps.h" | 32 | #include "xhci-ext-caps.h" |
33 | 33 | ||