ARM: mx25: dynamically allocatate imx-fb devices
[pandora-kernel.git] / arch / arm / mach-mx25 / devices.c
index 1274396..09095e0 100644 (file)
 #include <mach/mx25.h>
 #include <mach/irqs.h>
 
-static struct resource mx25_fb_resources[] = {
-       {
-               .start  = MX25_LCDC_BASE_ADDR,
-               .end    = MX25_LCDC_BASE_ADDR + 0xfff,
-               .flags  = IORESOURCE_MEM,
-       },
-       {
-               .start  = MX25_INT_LCDC,
-               .end    = MX25_INT_LCDC,
-               .flags  = IORESOURCE_IRQ,
-       },
-};
-
-struct platform_device mx25_fb_device = {
-       .name           = "imx-fb",
-       .id             = 0,
-       .resource       = mx25_fb_resources,
-       .num_resources  = ARRAY_SIZE(mx25_fb_resources),
-       .dev            = {
-               .coherent_dma_mask = 0xFFFFFFFF,
-       },
-};
-
 static struct resource mxc_wdt_resources[] = {
        {
                .start = MX25_WDOG_BASE_ADDR,