diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-11 09:32:21 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-17 04:01:41 -0500 |
commit | 194ee8e89cc02d8bea8a0b837271f79ca0c72873 (patch) | |
tree | 212f66a12c7afbf931cab5c52f713306b76d980f /arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c | |
parent | e7c74b343091e0c6b7bb67c12f9f7fb345aa6a50 (diff) |
ARM: mx25: dynamically allocatate imx-fb devices
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c')
-rw-r--r-- | arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c b/arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c index e765ac5d9a08..d6058e0c0c7d 100644 --- a/arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c +++ b/arch/arm/mach-mx25/eukrea_mbimxsd-baseboard.c | |||
@@ -33,7 +33,6 @@ | |||
33 | #include <asm/mach/arch.h> | 33 | #include <asm/mach/arch.h> |
34 | #include <mach/mx25.h> | 34 | #include <mach/mx25.h> |
35 | #include <mach/imx-uart.h> | 35 | #include <mach/imx-uart.h> |
36 | #include <mach/imxfb.h> | ||
37 | #include <mach/audmux.h> | 36 | #include <mach/audmux.h> |
38 | 37 | ||
39 | #include "devices-imx25.h" | 38 | #include "devices-imx25.h" |
@@ -151,7 +150,7 @@ static struct imx_fb_videomode eukrea_mximxsd_modes[] = { | |||
151 | }, | 150 | }, |
152 | }; | 151 | }; |
153 | 152 | ||
154 | static struct imx_fb_platform_data eukrea_mximxsd_fb_pdata = { | 153 | static const struct imx_fb_platform_data eukrea_mximxsd_fb_pdata __initconst = { |
155 | .mode = eukrea_mximxsd_modes, | 154 | .mode = eukrea_mximxsd_modes, |
156 | .num_modes = ARRAY_SIZE(eukrea_mximxsd_modes), | 155 | .num_modes = ARRAY_SIZE(eukrea_mximxsd_modes), |
157 | .pwmr = 0x00A903FF, | 156 | .pwmr = 0x00A903FF, |
@@ -273,7 +272,7 @@ void __init eukrea_mbimxsd25_baseboard_init(void) | |||
273 | #endif | 272 | #endif |
274 | 273 | ||
275 | imx25_add_imx_uart1(&uart_pdata); | 274 | imx25_add_imx_uart1(&uart_pdata); |
276 | mxc_register_device(&mx25_fb_device, &eukrea_mximxsd_fb_pdata); | 275 | imx25_add_imx_fb(&eukrea_mximxsd_fb_pdata); |
277 | imx25_add_imx_ssi(0, &eukrea_mbimxsd_ssi_pdata); | 276 | imx25_add_imx_ssi(0, &eukrea_mbimxsd_ssi_pdata); |
278 | 277 | ||
279 | imx25_add_flexcan1(NULL); | 278 | imx25_add_flexcan1(NULL); |