diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-15 05:57:49 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-19 15:54:35 -0500 |
commit | 2d58de2805f93bdb8fa0608d98e1871bb28ec091 (patch) | |
tree | c02b9ce615ef49dea30cae203f4a6fbceb668daa /arch/arm/mach-mx3/mach-mx35_3ds.c | |
parent | 9e1dde33876ba83ad586c336647fff133d0f5472 (diff) |
ARM: mx3: dynamically allocate mxc-ehci devices
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/mach-mx35_3ds.c')
-rw-r--r-- | arch/arm/mach-mx3/mach-mx35_3ds.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-mx3/mach-mx35_3ds.c b/arch/arm/mach-mx3/mach-mx35_3ds.c index 6dfdf1746c76..73fb1157e56d 100644 --- a/arch/arm/mach-mx3/mach-mx35_3ds.c +++ b/arch/arm/mach-mx3/mach-mx35_3ds.c | |||
@@ -39,7 +39,6 @@ | |||
39 | #include <mach/iomux-mx35.h> | 39 | #include <mach/iomux-mx35.h> |
40 | #include <mach/irqs.h> | 40 | #include <mach/irqs.h> |
41 | #include <mach/3ds_debugboard.h> | 41 | #include <mach/3ds_debugboard.h> |
42 | #include <mach/mxc_ehci.h> | ||
43 | 42 | ||
44 | #include "devices-imx35.h" | 43 | #include "devices-imx35.h" |
45 | #include "devices.h" | 44 | #include "devices.h" |
@@ -127,7 +126,7 @@ static const struct fsl_usb2_platform_data usb_otg_pdata __initconst = { | |||
127 | }; | 126 | }; |
128 | 127 | ||
129 | /* USB HOST config */ | 128 | /* USB HOST config */ |
130 | static struct mxc_usbh_platform_data usb_host_pdata = { | 129 | static const struct mxc_usbh_platform_data usb_host_pdata __initconst = { |
131 | .portsc = MXC_EHCI_MODE_SERIAL, | 130 | .portsc = MXC_EHCI_MODE_SERIAL, |
132 | .flags = MXC_EHCI_INTERFACE_SINGLE_UNI | | 131 | .flags = MXC_EHCI_INTERFACE_SINGLE_UNI | |
133 | MXC_EHCI_INTERNAL_PHY, | 132 | MXC_EHCI_INTERNAL_PHY, |
@@ -147,7 +146,7 @@ static void __init mxc_board_init(void) | |||
147 | 146 | ||
148 | imx35_add_fsl_usb2_udc(&usb_otg_pdata); | 147 | imx35_add_fsl_usb2_udc(&usb_otg_pdata); |
149 | 148 | ||
150 | mxc_register_device(&mxc_usbh1, &usb_host_pdata); | 149 | imx35_add_mxc_ehci_hs(&usb_host_pdata); |
151 | 150 | ||
152 | imx35_add_mxc_nand(&mx35pdk_nand_board_info); | 151 | imx35_add_mxc_nand(&mx35pdk_nand_board_info); |
153 | imx35_add_esdhc(0, NULL); | 152 | imx35_add_esdhc(0, NULL); |