diff options
author | Philippe Rétornaz <philippe.retornaz@epfl.ch> | 2010-05-11 16:57:50 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-05-17 10:05:50 +0200 |
commit | 66c202ad9a58905e0e6a0fa3976020a7ab0fa6df (patch) | |
tree | c8559ce3f8e34002228844a21172f499935f291f /arch/arm/mach-mx3/mach-mx31moboard.c | |
parent | mx31moboard: Fix usb PHY reset (diff) | |
download | linux-66c202ad9a58905e0e6a0fa3976020a7ab0fa6df.tar.xz linux-66c202ad9a58905e0e6a0fa3976020a7ab0fa6df.zip |
mx31moboard: Move usb OTG device registration
In preparation for a new robot which needs the
OTG port as host.
This moves the OTG device registration into board
initialisation.
Signed-off-by: Philippe Rétornaz <philippe.retornaz@epfl.ch>
Acked-by: Valentin Longchamp <valentin.longchamp@epfl.ch>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/mach-mx31moboard.c')
-rw-r--r-- | arch/arm/mach-mx3/mach-mx31moboard.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-mx3/mach-mx31moboard.c b/arch/arm/mach-mx3/mach-mx31moboard.c index 5c4448947d78..4bb011afc2a3 100644 --- a/arch/arm/mach-mx3/mach-mx31moboard.c +++ b/arch/arm/mach-mx3/mach-mx31moboard.c @@ -18,7 +18,6 @@ #include <linux/delay.h> #include <linux/dma-mapping.h> -#include <linux/fsl_devices.h> #include <linux/gfp.h> #include <linux/gpio.h> #include <linux/init.h> @@ -353,11 +352,6 @@ static void usb_xcvr_reset(void) mdelay(1); } -static struct fsl_usb2_platform_data usb_pdata = { - .operating_mode = FSL_USB2_DR_DEVICE, - .phy_mode = FSL_USB2_PHY_ULPI, -}; - #if defined(CONFIG_USB_ULPI) static struct mxc_usbh_platform_data usbh2_pdata = { @@ -485,7 +479,6 @@ static void __init mxc_board_init(void) usb_xcvr_reset(); - mxc_register_device(&mxc_otg_udc_device, &usb_pdata); moboard_usbh2_init(); switch (mx31moboard_baseboard) { |