diff options
Diffstat (limited to 'arch/arm/mach-mx5/usb_dr.c')
-rw-r--r-- | arch/arm/mach-mx5/usb_dr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/usb_dr.c b/arch/arm/mach-mx5/usb_dr.c index e72ec58cbf3a..658583b65ab6 100644 --- a/arch/arm/mach-mx5/usb_dr.c +++ b/arch/arm/mach-mx5/usb_dr.c @@ -20,6 +20,7 @@ #include <mach/hardware.h> #include "usb.h" +#if defined(CONFIG_USB_OTG) || defined(CONFIG_USB_EHCI_ARC_OTG) || defined(CONFIG_USB_GADGET_ARC) static int usbotg_init_ext(struct platform_device *pdev); static void usbotg_uninit_ext(struct fsl_usb2_platform_data *pdata); static void _wake_up_enable(struct fsl_usb2_platform_data *pdata, bool enable); @@ -137,6 +138,7 @@ static void usbotg_clock_gate(bool on) clk_put(usb_clk); } } +#endif void __init mx5_usb_dr_init(void) { |