aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx25/devices.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-11 09:32:21 -0500
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-17 04:01:41 -0500
commit194ee8e89cc02d8bea8a0b837271f79ca0c72873 (patch)
tree212f66a12c7afbf931cab5c52f713306b76d980f /arch/arm/mach-mx25/devices.c
parente7c74b343091e0c6b7bb67c12f9f7fb345aa6a50 (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/devices.c')
-rw-r--r--arch/arm/mach-mx25/devices.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/arm/mach-mx25/devices.c b/arch/arm/mach-mx25/devices.c
index 12743969222d..09095e0b69c7 100644
--- a/arch/arm/mach-mx25/devices.c
+++ b/arch/arm/mach-mx25/devices.c
@@ -22,29 +22,6 @@
22#include <mach/mx25.h> 22#include <mach/mx25.h>
23#include <mach/irqs.h> 23#include <mach/irqs.h>
24 24
25static struct resource mx25_fb_resources[] = {
26 {
27 .start = MX25_LCDC_BASE_ADDR,
28 .end = MX25_LCDC_BASE_ADDR + 0xfff,
29 .flags = IORESOURCE_MEM,
30 },
31 {
32 .start = MX25_INT_LCDC,
33 .end = MX25_INT_LCDC,
34 .flags = IORESOURCE_IRQ,
35 },
36};
37
38struct platform_device mx25_fb_device = {
39 .name = "imx-fb",
40 .id = 0,
41 .resource = mx25_fb_resources,
42 .num_resources = ARRAY_SIZE(mx25_fb_resources),
43 .dev = {
44 .coherent_dma_mask = 0xFFFFFFFF,
45 },
46};
47
48static struct resource mxc_wdt_resources[] = { 25static struct resource mxc_wdt_resources[] = {
49 { 26 {
50 .start = MX25_WDOG_BASE_ADDR, 27 .start = MX25_WDOG_BASE_ADDR,