summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-04-03 12:46:58 +0200
committerRemy Bohmer <linux@bohmer.net>2009-04-06 20:40:46 +0200
commit2731b9a86685190d26b1883f27afda5ac8e1a313 (patch)
tree83511c3f504e62eb3ac129f3332d2bcaf25d6e32
parent712ac6a1a6909a58d6549fb220cc921a7e9f9979 (diff)
drivers/usb: regorganisation
move to linux usb driver organisation as following drivers/usb/gadget drivers/usb/host drivers/usb/musb Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Remy Bohmer <linux@bohmer.net>
-rw-r--r--Makefile4
-rw-r--r--drivers/serial/usbtty.c2
-rw-r--r--drivers/serial/usbtty.h6
-rw-r--r--drivers/usb/gadget/Makefile52
-rw-r--r--drivers/usb/gadget/core.c (renamed from drivers/usb/usbdcore.c)2
-rw-r--r--drivers/usb/gadget/ep0.c (renamed from drivers/usb/usbdcore_ep0.c)2
-rw-r--r--drivers/usb/gadget/ep0.h (renamed from include/usbdcore_ep0.h)0
-rw-r--r--drivers/usb/gadget/mpc8xx_udc.c (renamed from drivers/usb/usbdcore_mpc8xx.c)9
-rw-r--r--drivers/usb/gadget/omap1510_udc.c (renamed from drivers/usb/usbdcore_omap1510.c)6
-rw-r--r--drivers/usb/host/Makefile (renamed from drivers/usb/Makefile)37
-rw-r--r--drivers/usb/host/ehci-core.h (renamed from drivers/usb/usb_ehci_core.h)0
-rw-r--r--drivers/usb/host/ehci-fsl.c (renamed from drivers/usb/usb_ehci_fsl.c)6
-rw-r--r--drivers/usb/host/ehci-fsl.h (renamed from drivers/usb/usb_ehci_fsl.h)0
-rw-r--r--drivers/usb/host/ehci-hcd.c (renamed from drivers/usb/usb_ehci_core.c)3
-rw-r--r--drivers/usb/host/ehci-ixp4xx.c (renamed from drivers/usb/usb_ehci_ixp.c)5
-rw-r--r--drivers/usb/host/ehci-pci.c (renamed from drivers/usb/usb_ehci_pci.c)5
-rw-r--r--drivers/usb/host/ehci-vct.c (renamed from drivers/usb/usb_ehci_vct.c)4
-rw-r--r--drivers/usb/host/ehci.h (renamed from drivers/usb/usb_ehci.h)0
-rw-r--r--drivers/usb/host/isp116x-hcd.c (renamed from drivers/usb/isp116x-hcd.c)0
-rw-r--r--drivers/usb/host/isp116x.h (renamed from drivers/usb/isp116x.h)0
-rw-r--r--drivers/usb/host/ohci-at91.c (renamed from drivers/usb/atmel_usb.c)0
-rw-r--r--drivers/usb/host/ohci-hcd.c (renamed from drivers/usb/usb_ohci.c)3
-rw-r--r--drivers/usb/host/ohci.h (renamed from drivers/usb/usb_ohci.h)0
-rw-r--r--drivers/usb/host/r8a66597-hcd.c (renamed from drivers/usb/r8a66597-hcd.c)0
-rw-r--r--drivers/usb/host/r8a66597.h (renamed from drivers/usb/r8a66597.h)0
-rw-r--r--drivers/usb/host/s3c64xx-hcd.c (renamed from drivers/usb/s3c64xx_usb.c)0
-rw-r--r--drivers/usb/host/sl811-hcd.c (renamed from drivers/usb/sl811_usb.c)2
-rw-r--r--drivers/usb/host/sl811.h (renamed from drivers/usb/sl811.h)0
-rw-r--r--drivers/usb/musb/Makefile47
-rw-r--r--drivers/usb/musb/davinci.c (renamed from drivers/usb/davinci_usb.c)2
-rw-r--r--drivers/usb/musb/davinci.h (renamed from drivers/usb/davinci_usb.h)0
-rw-r--r--drivers/usb/musb/musb_core.c (renamed from drivers/usb/musb_core.c)0
-rw-r--r--drivers/usb/musb/musb_core.h (renamed from drivers/usb/musb_core.h)0
-rw-r--r--drivers/usb/musb/musb_hcd.c (renamed from drivers/usb/musb_hcd.c)0
-rw-r--r--drivers/usb/musb/musb_hcd.h (renamed from drivers/usb/musb_hcd.h)0
-rw-r--r--include/usb/mpc8xx_udc.h (renamed from include/usbdcore_mpc8xx.h)0
-rw-r--r--include/usb/omap1510_udc.h (renamed from include/usbdcore_omap1510.h)0
-rw-r--r--include/usbdevice.h (renamed from include/usbdcore.h)0
38 files changed, 146 insertions, 51 deletions
diff --git a/Makefile b/Makefile
index 49b83c0c490..e91c051f5e6 100644
--- a/Makefile
+++ b/Makefile
@@ -263,7 +263,9 @@ endif
LIBS += drivers/rtc/librtc.a
LIBS += drivers/serial/libserial.a
LIBS += drivers/twserial/libtws.a
-LIBS += drivers/usb/libusb.a
+LIBS += drivers/usb/gadget/libusb_gadget.a
+LIBS += drivers/usb/host/libusb_host.a
+LIBS += drivers/usb/musb/libusb_musb.a
LIBS += drivers/video/libvideo.a
LIBS += drivers/watchdog/libwatchdog.a
LIBS += common/libcommon.a
diff --git a/drivers/serial/usbtty.c b/drivers/serial/usbtty.c
index d8b13879176..f711d0b18b1 100644
--- a/drivers/serial/usbtty.c
+++ b/drivers/serial/usbtty.c
@@ -94,7 +94,7 @@ static char serial_number[16];
* Descriptors, Strings, Local variables.
*/
-/* defined and used by usbdcore_ep0.c */
+/* defined and used by gadget/ep0.c */
extern struct usb_string_descriptor **usb_strings;
/* Indicies, References */
diff --git a/drivers/serial/usbtty.h b/drivers/serial/usbtty.h
index ecefde54920..77db972b876 100644
--- a/drivers/serial/usbtty.h
+++ b/drivers/serial/usbtty.h
@@ -24,11 +24,11 @@
#ifndef __USB_TTY_H__
#define __USB_TTY_H__
-#include <usbdcore.h>
+#include <usbdevice.h>
#if defined(CONFIG_PPC)
-#include <usbdcore_mpc8xx.h>
+#include <usb/mpc8xx_udc.h>
#elif defined(CONFIG_ARM)
-#include <usbdcore_omap1510.h>
+#include <usb/omap1510_udc.h>
#endif
#include <version_autogenerated.h>
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile
new file mode 100644
index 00000000000..251724f92b7
--- /dev/null
+++ b/drivers/usb/gadget/Makefile
@@ -0,0 +1,52 @@
+#
+# (C) Copyright 2000-2007
+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+include $(TOPDIR)/config.mk
+
+LIB := $(obj)libusb_gadget.a
+
+ifdef CONFIG_USB_DEVICE
+COBJS-y += core.o
+COBJS-y += ep0.o
+COBJS-$(CONFIG_OMAP1510) += omap1510_udc.o
+COBJS-$(CONFIG_OMAP1610) += omap1510_udc.o
+COBJS-$(CONFIG_MPC885_FAMILY) += mpc8xx_udc.o
+endif
+
+COBJS := $(COBJS-y)
+SRCS := $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+
+all: $(LIB)
+
+$(LIB): $(obj).depend $(OBJS)
+ $(AR) $(ARFLAGS) $@ $(OBJS)
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################
diff --git a/drivers/usb/usbdcore.c b/drivers/usb/gadget/core.c
index 53ed669e971..67b6681a6cc 100644
--- a/drivers/usb/usbdcore.c
+++ b/drivers/usb/gadget/core.c
@@ -30,7 +30,7 @@
*/
#include <malloc.h>
-#include "usbdcore.h"
+#include <usbdevice.h>
#define MAX_INTERFACES 2
diff --git a/drivers/usb/usbdcore_ep0.c b/drivers/usb/gadget/ep0.c
index f6e017df180..2b4ec44e161 100644
--- a/drivers/usb/usbdcore_ep0.c
+++ b/drivers/usb/gadget/ep0.c
@@ -51,7 +51,7 @@
*/
#include <common.h>
-#include "usbdcore.h"
+#include <usbdevice.h>
#if 0
#define dbg_ep0(lvl,fmt,args...) serial_printf("[%s] %s:%d: "fmt"\n",__FILE__,__FUNCTION__,__LINE__,##args)
diff --git a/include/usbdcore_ep0.h b/drivers/usb/gadget/ep0.h
index 3bec106a430..3bec106a430 100644
--- a/include/usbdcore_ep0.h
+++ b/drivers/usb/gadget/ep0.h
diff --git a/drivers/usb/usbdcore_mpc8xx.c b/drivers/usb/gadget/mpc8xx_udc.c
index 0e311ada156..da3fbba7220 100644
--- a/drivers/usb/usbdcore_mpc8xx.c
+++ b/drivers/usb/gadget/mpc8xx_udc.c
@@ -3,7 +3,7 @@
* bodonoghue@CodeHermit.ie
*
* References
- * DasUBoot/drivers/usb/usbdcore_omap1510.c, for design and implementation
+ * DasUBoot/drivers/usb/gadget/omap1510_udc.c, for design and implementation
* ideas.
*
* This program is free software; you can redistribute it and/or modify
@@ -59,9 +59,10 @@
#include <common.h>
#include <config.h>
#include <commproc.h>
-#include "usbdcore.h"
-#include "usbdcore_mpc8xx.h"
-#include "usbdcore_ep0.h"
+#include <usbdevice.h>
+#include <usb/mpc8xx_udc.h>
+
+#include "ep0.h"
DECLARE_GLOBAL_DATA_PTR;
diff --git a/drivers/usb/usbdcore_omap1510.c b/drivers/usb/gadget/omap1510_udc.c
index 6b7b61b3216..90f79070da5 100644
--- a/drivers/usb/usbdcore_omap1510.c
+++ b/drivers/usb/gadget/omap1510_udc.c
@@ -31,10 +31,10 @@
#ifdef CONFIG_OMAP_SX1
#include <i2c.h>
#endif
+#include <usbdevice.h>
+#include <usb/omap1510_udc.h>
-#include "usbdcore.h"
-#include "usbdcore_omap1510.h"
-#include "usbdcore_ep0.h"
+#include "ep0.h"
#define UDC_INIT_MDELAY 80 /* Device settle delay */
diff --git a/drivers/usb/Makefile b/drivers/usb/host/Makefile
index 5523cbdd67a..ec1d689b355 100644
--- a/drivers/usb/Makefile
+++ b/drivers/usb/host/Makefile
@@ -23,33 +23,22 @@
include $(TOPDIR)/config.mk
-LIB := $(obj)libusb.a
+LIB := $(obj)libusb_host.a
-# core
-COBJS-y += usbdcore.o
-COBJS-$(CONFIG_USB_OHCI_NEW) += usb_ohci.o
-COBJS-$(CONFIG_USB_EHCI) += usb_ehci_core.o
-
-# host
-COBJS-$(CONFIG_USB_ATMEL) += atmel_usb.o
+# ohci
+COBJS-$(CONFIG_USB_OHCI_NEW) += ohci-hcd.o
+COBJS-$(CONFIG_USB_ATMEL) += ohci-at91.o
COBJS-$(CONFIG_USB_ISP116X_HCD) += isp116x-hcd.o
COBJS-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
-COBJS-$(CONFIG_USB_S3C64XX) += s3c64xx_usb.o
-COBJS-$(CONFIG_USB_SL811HS) += sl811_usb.o
-COBJS-$(CONFIG_USB_EHCI_FSL) += usb_ehci_fsl.o
-COBJS-$(CONFIG_USB_EHCI_PCI) += usb_ehci_pci.o
-COBJS-$(CONFIG_USB_EHCI_IXP4XX) += usb_ehci_ixp.o
-COBJS-$(CONFIG_MUSB_HCD) += musb_hcd.o musb_core.o
-COBJS-$(CONFIG_USB_DAVINCI) += davinci_usb.o
-COBJS-$(CONFIG_USB_EHCI_VCT) += usb_ehci_vct.o
-
-# device
-ifdef CONFIG_USB_DEVICE
-COBJS-y += usbdcore_ep0.o
-COBJS-$(CONFIG_OMAP1510) += usbdcore_omap1510.o
-COBJS-$(CONFIG_OMAP1610) += usbdcore_omap1510.o
-COBJS-$(CONFIG_MPC885_FAMILY) += usbdcore_mpc8xx.o
-endif
+COBJS-$(CONFIG_USB_S3C64XX) += s3c64xx-hcd.o
+COBJS-$(CONFIG_USB_SL811HS) += sl811-hcd.o
+
+# echi
+COBJS-$(CONFIG_USB_EHCI) += ehci-hcd.o
+COBJS-$(CONFIG_USB_EHCI_FSL) += ehci-fsl.o
+COBJS-$(CONFIG_USB_EHCI_IXP4XX) += ehci-ixp.o
+COBJS-$(CONFIG_USB_EHCI_PCI) += ehci-pci.o
+COBJS-$(CONFIG_USB_EHCI_VCT) += ehci-vct.o
COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
diff --git a/drivers/usb/usb_ehci_core.h b/drivers/usb/host/ehci-core.h
index 39e5c5e58ce..39e5c5e58ce 100644
--- a/drivers/usb/usb_ehci_core.h
+++ b/drivers/usb/host/ehci-core.h
diff --git a/drivers/usb/usb_ehci_fsl.c b/drivers/usb/host/ehci-fsl.c
index 81d5d21657a..86ee1d57173 100644
--- a/drivers/usb/usb_ehci_fsl.c
+++ b/drivers/usb/host/ehci-fsl.c
@@ -26,9 +26,9 @@
#include <asm/io.h>
#include <asm/bitops.h>
-#include "usb_ehci.h"
-#include "usb_ehci_fsl.h"
-#include "usb_ehci_core.h"
+#include "ehci.h"
+#include "ehci-fsl.h"
+#include "ehci-core.h"
/*
* Create the appropriate control structures to manage
diff --git a/drivers/usb/usb_ehci_fsl.h b/drivers/usb/host/ehci-fsl.h
index c429af12534..c429af12534 100644
--- a/drivers/usb/usb_ehci_fsl.h
+++ b/drivers/usb/host/ehci-fsl.h
diff --git a/drivers/usb/usb_ehci_core.c b/drivers/usb/host/ehci-hcd.c
index 4dbfb6688fa..bbd547b3e35 100644
--- a/drivers/usb/usb_ehci_core.c
+++ b/drivers/usb/host/ehci-hcd.c
@@ -25,7 +25,8 @@
#include <usb.h>
#include <asm/io.h>
#include <malloc.h>
-#include "usb_ehci.h"
+
+#include "ehci.h"
int rootdev;
struct ehci_hccr *hccr; /* R/O registers, not need for volatile */
diff --git a/drivers/usb/usb_ehci_ixp.c b/drivers/usb/host/ehci-ixp4xx.c
index 25c18c104e2..b8f15ae52a7 100644
--- a/drivers/usb/usb_ehci_ixp.c
+++ b/drivers/usb/host/ehci-ixp4xx.c
@@ -21,8 +21,9 @@
*/
#include <common.h>
#include <usb.h>
-#include "usb_ehci.h"
-#include "usb_ehci_core.h"
+
+#include "ehci.h"
+#include "ehci-core.h"
/*
* Create the appropriate control structures to manage
* a new EHCI host controller.
diff --git a/drivers/usb/usb_ehci_pci.c b/drivers/usb/host/ehci-pci.c
index 3e7143cd91d..441b1a27143 100644
--- a/drivers/usb/usb_ehci_pci.c
+++ b/drivers/usb/host/ehci-pci.c
@@ -21,8 +21,9 @@
#include <common.h>
#include <pci.h>
#include <usb.h>
-#include "usb_ehci.h"
-#include "usb_ehci_core.h"
+
+#include "ehci.h"
+#include "ehci-core.h"
#ifdef CONFIG_PCI_EHCI_DEVICE
static struct pci_device_id ehci_pci_ids[] = {
diff --git a/drivers/usb/usb_ehci_vct.c b/drivers/usb/host/ehci-vct.c
index 89daaaf26df..3063dd172f5 100644
--- a/drivers/usb/usb_ehci_vct.c
+++ b/drivers/usb/host/ehci-vct.c
@@ -20,8 +20,8 @@
#include <common.h>
#include <usb.h>
-#include "usb_ehci.h"
-#include "usb_ehci_core.h"
+#include "ehci.h"
+#include "ehci-core.h"
int vct_ehci_hcd_init(u32 *hccr, u32 *hcor);
diff --git a/drivers/usb/usb_ehci.h b/drivers/usb/host/ehci.h
index b3c1d5d7284..b3c1d5d7284 100644
--- a/drivers/usb/usb_ehci.h
+++ b/drivers/usb/host/ehci.h
diff --git a/drivers/usb/isp116x-hcd.c b/drivers/usb/host/isp116x-hcd.c
index 348e404fe68..348e404fe68 100644
--- a/drivers/usb/isp116x-hcd.c
+++ b/drivers/usb/host/isp116x-hcd.c
diff --git a/drivers/usb/isp116x.h b/drivers/usb/host/isp116x.h
index a3ce3b582c7..a3ce3b582c7 100644
--- a/drivers/usb/isp116x.h
+++ b/drivers/usb/host/isp116x.h
diff --git a/drivers/usb/atmel_usb.c b/drivers/usb/host/ohci-at91.c
index 7c44ad0e95e..7c44ad0e95e 100644
--- a/drivers/usb/atmel_usb.c
+++ b/drivers/usb/host/ohci-at91.c
diff --git a/drivers/usb/usb_ohci.c b/drivers/usb/host/ohci-hcd.c
index 0bbee0f47b7..e2f289e6d68 100644
--- a/drivers/usb/usb_ohci.c
+++ b/drivers/usb/host/ohci-hcd.c
@@ -57,7 +57,8 @@
#include <malloc.h>
#include <usb.h>
-#include "usb_ohci.h"
+
+#include "ohci.h"
#ifdef CONFIG_AT91RM9200
#include <asm/arch/hardware.h> /* needed for AT91_USB_HOST_BASE */
diff --git a/drivers/usb/usb_ohci.h b/drivers/usb/host/ohci.h
index a547337e7f3..a547337e7f3 100644
--- a/drivers/usb/usb_ohci.h
+++ b/drivers/usb/host/ohci.h
diff --git a/drivers/usb/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c
index db611b641fc..db611b641fc 100644
--- a/drivers/usb/r8a66597-hcd.c
+++ b/drivers/usb/host/r8a66597-hcd.c
diff --git a/drivers/usb/r8a66597.h b/drivers/usb/host/r8a66597.h
index 9af6446c134..9af6446c134 100644
--- a/drivers/usb/r8a66597.h
+++ b/drivers/usb/host/r8a66597.h
diff --git a/drivers/usb/s3c64xx_usb.c b/drivers/usb/host/s3c64xx-hcd.c
index 274a4ed3097..274a4ed3097 100644
--- a/drivers/usb/s3c64xx_usb.c
+++ b/drivers/usb/host/s3c64xx-hcd.c
diff --git a/drivers/usb/sl811_usb.c b/drivers/usb/host/sl811-hcd.c
index a03e469d1e7..82a8b365f4e 100644
--- a/drivers/usb/sl811_usb.c
+++ b/drivers/usb/host/sl811-hcd.c
@@ -40,7 +40,7 @@
#include <usb.h>
#include "sl811.h"
-#include "../../board/kup/common/kup.h"
+#include "../../../board/kup/common/kup.h"
#ifdef __PPC__
# define EIEIO __asm__ volatile ("eieio")
diff --git a/drivers/usb/sl811.h b/drivers/usb/host/sl811.h
index c1f9f013bd1..c1f9f013bd1 100644
--- a/drivers/usb/sl811.h
+++ b/drivers/usb/host/sl811.h
diff --git a/drivers/usb/musb/Makefile b/drivers/usb/musb/Makefile
new file mode 100644
index 00000000000..09e0a5f32fa
--- /dev/null
+++ b/drivers/usb/musb/Makefile
@@ -0,0 +1,47 @@
+#
+# (C) Copyright 2000-2007
+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+include $(TOPDIR)/config.mk
+
+LIB := $(obj)libusb_musb.a
+
+COBJS-$(CONFIG_MUSB_HCD) += musb_hcd.o musb_core.o
+COBJS-$(CONFIG_USB_DAVINCI) += davinci.o
+
+COBJS := $(COBJS-y)
+SRCS := $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+
+all: $(LIB)
+
+$(LIB): $(obj).depend $(OBJS)
+ $(AR) $(ARFLAGS) $@ $(OBJS)
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################
diff --git a/drivers/usb/davinci_usb.c b/drivers/usb/musb/davinci.c
index e66f660feef..a7648fc452b 100644
--- a/drivers/usb/davinci_usb.c
+++ b/drivers/usb/musb/davinci.c
@@ -23,7 +23,7 @@
#include <common.h>
#include <asm/io.h>
-#include "davinci_usb.h"
+#include "davinci.h"
/* MUSB platform configuration */
struct musb_config musb_cfg = {
diff --git a/drivers/usb/davinci_usb.h b/drivers/usb/musb/davinci.h
index f6751bf66c9..f6751bf66c9 100644
--- a/drivers/usb/davinci_usb.h
+++ b/drivers/usb/musb/davinci.h
diff --git a/drivers/usb/musb_core.c b/drivers/usb/musb/musb_core.c
index ec57fc811c2..ec57fc811c2 100644
--- a/drivers/usb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
diff --git a/drivers/usb/musb_core.h b/drivers/usb/musb/musb_core.h
index 2597c5fc7ec..2597c5fc7ec 100644
--- a/drivers/usb/musb_core.h
+++ b/drivers/usb/musb/musb_core.h
diff --git a/drivers/usb/musb_hcd.c b/drivers/usb/musb/musb_hcd.c
index 352a0d4eb08..352a0d4eb08 100644
--- a/drivers/usb/musb_hcd.c
+++ b/drivers/usb/musb/musb_hcd.c
diff --git a/drivers/usb/musb_hcd.h b/drivers/usb/musb/musb_hcd.h
index bb83311b014..bb83311b014 100644
--- a/drivers/usb/musb_hcd.h
+++ b/drivers/usb/musb/musb_hcd.h
diff --git a/include/usbdcore_mpc8xx.h b/include/usb/mpc8xx_udc.h
index 039d2450579..039d2450579 100644
--- a/include/usbdcore_mpc8xx.h
+++ b/include/usb/mpc8xx_udc.h
diff --git a/include/usbdcore_omap1510.h b/include/usb/omap1510_udc.h
index ece0e95b61d..ece0e95b61d 100644
--- a/include/usbdcore_omap1510.h
+++ b/include/usb/omap1510_udc.h
diff --git a/include/usbdcore.h b/include/usbdevice.h
index 206dbbc864e..206dbbc864e 100644
--- a/include/usbdcore.h
+++ b/include/usbdevice.h