diff options
author | Nikhil Badola <nikhil.badola@freescale.com> | 2014-06-02 11:20:27 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-09-25 07:25:28 (GMT) |
commit | 1e565495acd133e5bbbdd7149cd7091a316ee3fc (patch) | |
tree | 9141935e1839ad6508b8c787d1271c9d16bf2f79 /drivers | |
parent | 2d1cc215eb927198cf4ebe3efaa0abbce4276bc0 (diff) | |
download | linux-1e565495acd133e5bbbdd7149cd7091a316ee3fc.tar.xz |
usb: gadget: Remove compilation error for usb EHCI gadget
Remove compilation errors from USB EHCI gadget driver
Signed-off-by: Nikhil Badola <nikhil.badola@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/gadget/udc/fsl_usb2_udc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/gadget/udc/fsl_usb2_udc.h b/drivers/usb/gadget/udc/fsl_usb2_udc.h index 8471562..1300b393 100644 --- a/drivers/usb/gadget/udc/fsl_usb2_udc.h +++ b/drivers/usb/gadget/udc/fsl_usb2_udc.h @@ -20,6 +20,10 @@ #define USB_MAX_CTRL_PAYLOAD 64 #define USB_DR_SYS_OFFSET 0x400 +#ifdef CONFIG_SOC_LS1021A +#undef CONFIG_ARCH_MXC +#endif + /* USB DR device mode registers (Little Endian) */ struct usb_dr_device { /* Capability register */ |