aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mach-pcm038.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/mach-pcm038.c')
-rw-r--r--arch/arm/mach-imx/mach-pcm038.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/mach-pcm038.c b/arch/arm/mach-imx/mach-pcm038.c
index b3340cd8ccdd..e209b28bee4d 100644
--- a/arch/arm/mach-imx/mach-pcm038.c
+++ b/arch/arm/mach-imx/mach-pcm038.c
@@ -37,7 +37,6 @@
37#include <mach/hardware.h> 37#include <mach/hardware.h>
38#include <mach/iomux-mx27.h> 38#include <mach/iomux-mx27.h>
39#include <mach/mxc_nand.h> 39#include <mach/mxc_nand.h>
40#include <mach/mxc_ehci.h>
41#include <mach/ulpi.h> 40#include <mach/ulpi.h>
42 41
43#include "devices-imx27.h" 42#include "devices-imx27.h"
@@ -283,7 +282,7 @@ static struct spi_board_info pcm038_spi_board_info[] __initdata = {
283 } 282 }
284}; 283};
285 284
286static struct mxc_usbh_platform_data usbh2_pdata = { 285static const struct mxc_usbh_platform_data usbh2_pdata __initconst = {
287 .portsc = MXC_EHCI_MODE_ULPI, 286 .portsc = MXC_EHCI_MODE_ULPI,
288 .flags = MXC_EHCI_POWER_PINS_ENABLED | MXC_EHCI_INTERFACE_DIFF_UNI, 287 .flags = MXC_EHCI_POWER_PINS_ENABLED | MXC_EHCI_INTERFACE_DIFF_UNI,
289}; 288};
@@ -320,7 +319,7 @@ static void __init pcm038_init(void)
320 spi_register_board_info(pcm038_spi_board_info, 319 spi_register_board_info(pcm038_spi_board_info,
321 ARRAY_SIZE(pcm038_spi_board_info)); 320 ARRAY_SIZE(pcm038_spi_board_info));
322 321
323 mxc_register_device(&mxc_usbh2, &usbh2_pdata); 322 imx27_add_mxc_ehci_hs(2, &usbh2_pdata);
324 323
325 imx27_add_fec(NULL); 324 imx27_add_fec(NULL);
326 platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); 325 platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices));