diff options
Diffstat (limited to 'arch/arm/mach-mx25/mach-mx25_3ds.c')
-rw-r--r-- | arch/arm/mach-mx25/mach-mx25_3ds.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-mx25/mach-mx25_3ds.c b/arch/arm/mach-mx25/mach-mx25_3ds.c index 0566d3cb10cd..34492aa3cfa6 100644 --- a/arch/arm/mach-mx25/mach-mx25_3ds.c +++ b/arch/arm/mach-mx25/mach-mx25_3ds.c | |||
@@ -39,7 +39,6 @@ | |||
39 | #include <asm/mach/map.h> | 39 | #include <asm/mach/map.h> |
40 | #include <mach/common.h> | 40 | #include <mach/common.h> |
41 | #include <mach/mx25.h> | 41 | #include <mach/mx25.h> |
42 | #include <mach/imxfb.h> | ||
43 | #include <mach/iomux-mx25.h> | 42 | #include <mach/iomux-mx25.h> |
44 | 43 | ||
45 | #include "devices-imx25.h" | 44 | #include "devices-imx25.h" |
@@ -154,7 +153,7 @@ static struct imx_fb_videomode mx25pdk_modes[] = { | |||
154 | }, | 153 | }, |
155 | }; | 154 | }; |
156 | 155 | ||
157 | static struct imx_fb_platform_data mx25pdk_fb_pdata = { | 156 | static const struct imx_fb_platform_data mx25pdk_fb_pdata __initconst = { |
158 | .mode = mx25pdk_modes, | 157 | .mode = mx25pdk_modes, |
159 | .num_modes = ARRAY_SIZE(mx25pdk_modes), | 158 | .num_modes = ARRAY_SIZE(mx25pdk_modes), |
160 | .pwmr = 0x00A903FF, | 159 | .pwmr = 0x00A903FF, |
@@ -195,7 +194,7 @@ static void __init mx25pdk_init(void) | |||
195 | imx25_add_mxc_ehci_hs(NULL); | 194 | imx25_add_mxc_ehci_hs(NULL); |
196 | imx25_add_mxc_nand(&mx25pdk_nand_board_info); | 195 | imx25_add_mxc_nand(&mx25pdk_nand_board_info); |
197 | imx25_add_imxdi_rtc(NULL); | 196 | imx25_add_imxdi_rtc(NULL); |
198 | mxc_register_device(&mx25_fb_device, &mx25pdk_fb_pdata); | 197 | imx25_add_imx_fb(&mx25pdk_fb_pdata); |
199 | mxc_register_device(&mxc_wdt, NULL); | 198 | mxc_register_device(&mxc_wdt, NULL); |
200 | 199 | ||
201 | mx25pdk_fec_reset(); | 200 | mx25pdk_fec_reset(); |