diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2013-10-10 15:28:04 -0700 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-10-20 23:46:38 +0200 |
commit | 449697f14ebc9f7cb5bf15bbad0d46c6ca2c4979 (patch) | |
tree | 38f99f3c1a393dc1ee01912ffc0927df2f7d344a /drivers/usb | |
parent | 0f740cb8e48eb7c90e7977def98601c929101446 (diff) |
usb: udc: add udc.h include file
Move common definitions to udc.h
This allows musb_udc.h to be removed as well.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/designware_udc.c | 1 | ||||
-rw-r--r-- | drivers/usb/gadget/mpc8xx_udc.c | 1 | ||||
-rw-r--r-- | drivers/usb/gadget/omap1510_udc.c | 1 | ||||
-rw-r--r-- | drivers/usb/gadget/pxa27x_udc.c | 1 | ||||
-rw-r--r-- | drivers/usb/musb/musb_udc.c | 3 |
5 files changed, 6 insertions, 1 deletions
diff --git a/drivers/usb/gadget/designware_udc.c b/drivers/usb/gadget/designware_udc.c index 1aab31bbae..b7c10384a3 100644 --- a/drivers/usb/gadget/designware_udc.c +++ b/drivers/usb/gadget/designware_udc.c @@ -14,6 +14,7 @@ #include <usbdevice.h> #include "ep0.h" #include <usb/designware_udc.h> +#include <usb/udc.h> #include <asm/arch/hardware.h> #define UDC_INIT_MDELAY 80 /* Device settle delay */ diff --git a/drivers/usb/gadget/mpc8xx_udc.c b/drivers/usb/gadget/mpc8xx_udc.c index 0207d391a8..7f72972dcc 100644 --- a/drivers/usb/gadget/mpc8xx_udc.c +++ b/drivers/usb/gadget/mpc8xx_udc.c @@ -47,6 +47,7 @@ #include <commproc.h> #include <usbdevice.h> #include <usb/mpc8xx_udc.h> +#include <usb/udc.h> #include "ep0.h" diff --git a/drivers/usb/gadget/omap1510_udc.c b/drivers/usb/gadget/omap1510_udc.c index 8553fe5396..bdc1b886f5 100644 --- a/drivers/usb/gadget/omap1510_udc.c +++ b/drivers/usb/gadget/omap1510_udc.c @@ -20,6 +20,7 @@ #endif #include <usbdevice.h> #include <usb/omap1510_udc.h> +#include <usb/udc.h> #include "ep0.h" diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c index 05d1b56667..733558def7 100644 --- a/drivers/usb/gadget/pxa27x_udc.c +++ b/drivers/usb/gadget/pxa27x_udc.c @@ -16,6 +16,7 @@ #include <asm/arch/hardware.h> #include <asm/io.h> #include <usb/pxa27x_udc.h> +#include <usb/udc.h> #include "ep0.h" diff --git a/drivers/usb/musb/musb_udc.c b/drivers/usb/musb/musb_udc.c index 3e3e05ecfd..87640f4e32 100644 --- a/drivers/usb/musb/musb_udc.c +++ b/drivers/usb/musb/musb_udc.c @@ -39,7 +39,8 @@ */ #include <common.h> -#include <usb/musb_udc.h> +#include <usbdevice.h> +#include <usb/udc.h> #include "../gadget/ep0.h" #include "musb_core.h" #if defined(CONFIG_USB_OMAP3) |