summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5/devices.h
diff options
context:
space:
mode:
authorDinh Nguyen <Dinh.Nguyen@freescale.com>2010-05-10 13:45:59 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2010-05-11 08:49:54 +0200
commit2ba5a2c0d8e0f62916a885170f28786141f08f76 (patch)
treee321c91bbb82a90aa39ebd026d62a7ada6cd36b3 /arch/arm/mach-mx5/devices.h
parentc79504e73a0e84c4db7a2315dcdd6987b0c52566 (diff)
downloadop-kernel-dev-2ba5a2c0d8e0f62916a885170f28786141f08f76.zip
op-kernel-dev-2ba5a2c0d8e0f62916a885170f28786141f08f76.tar.gz
mx5: enable usb gadget for freescale mx51 babbage board
This patch enables usb gadget for freescale mx51 babbage hw. By default, the OTG port will be in device mode. To put the OTG port into Host mode, pass "otg_mode=host" in the exec command. This patch applies to 2.6.34-rc7. Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/devices.h')
-rw-r--r--arch/arm/mach-mx5/devices.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/devices.h b/arch/arm/mach-mx5/devices.h
index 95c45f9..0494d6b 100644
--- a/arch/arm/mach-mx5/devices.h
+++ b/arch/arm/mach-mx5/devices.h
@@ -4,3 +4,4 @@ extern struct platform_device mxc_uart_device2;
extern struct platform_device mxc_fec_device;
extern struct platform_device mxc_usbdr_host_device;
extern struct platform_device mxc_usbh1_device;
+extern struct platform_device mxc_usbdr_udc_device;
OpenPOWER on IntegriCloud