diff options
Diffstat (limited to 'arch/arm/mach-mx3/mach-mx31_3ds.c')
-rw-r--r-- | arch/arm/mach-mx3/mach-mx31_3ds.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-mx3/mach-mx31_3ds.c b/arch/arm/mach-mx3/mach-mx31_3ds.c index 0ad9e7821082..1b46f738b310 100644 --- a/arch/arm/mach-mx3/mach-mx31_3ds.c +++ b/arch/arm/mach-mx3/mach-mx31_3ds.c | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/mfd/mc13783.h> | 22 | #include <linux/mfd/mc13783.h> |
23 | #include <linux/spi/spi.h> | 23 | #include <linux/spi/spi.h> |
24 | #include <linux/regulator/machine.h> | 24 | #include <linux/regulator/machine.h> |
25 | #include <linux/fsl_devices.h> | ||
26 | #include <linux/input/matrix_keypad.h> | 25 | #include <linux/input/matrix_keypad.h> |
27 | 26 | ||
28 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
@@ -214,7 +213,7 @@ usbotg_free_reset: | |||
214 | return err; | 213 | return err; |
215 | } | 214 | } |
216 | 215 | ||
217 | static struct fsl_usb2_platform_data usbotg_pdata = { | 216 | static const struct fsl_usb2_platform_data usbotg_pdata __initconst = { |
218 | .operating_mode = FSL_USB2_DR_DEVICE, | 217 | .operating_mode = FSL_USB2_DR_DEVICE, |
219 | .phy_mode = FSL_USB2_PHY_ULPI, | 218 | .phy_mode = FSL_USB2_PHY_ULPI, |
220 | }; | 219 | }; |
@@ -249,7 +248,7 @@ static void __init mxc_board_init(void) | |||
249 | mxc_register_device(&imx_kpp_device, &mx31_3ds_keymap_data); | 248 | mxc_register_device(&imx_kpp_device, &mx31_3ds_keymap_data); |
250 | 249 | ||
251 | mx31_3ds_usbotg_init(); | 250 | mx31_3ds_usbotg_init(); |
252 | mxc_register_device(&mxc_otg_udc_device, &usbotg_pdata); | 251 | imx31_add_fsl_usb2_udc(&usbotg_pdata); |
253 | 252 | ||
254 | if (mxc_expio_init(MX31_CS5_BASE_ADDR, EXPIO_PARENT_INT)) | 253 | if (mxc_expio_init(MX31_CS5_BASE_ADDR, EXPIO_PARENT_INT)) |
255 | printk(KERN_WARNING "Init of the debug board failed, all " | 254 | printk(KERN_WARNING "Init of the debug board failed, all " |