i.MX21/27: remove ifdef CONFIG_FB_IMX
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 26 Mar 2009 11:23:23 +0000 (12:23 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 27 Mar 2009 13:51:14 +0000 (14:51 +0100)
Compile in the framebuffer device unconditionally to fix pcm038
compilation without framebuffer support.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx2/devices.c

index f81aa8a8fbb4e2917aafcb3529a55c620c33d7f3..a0f1b36743274834dac351596107d742813177c6 100644 (file)
@@ -229,7 +229,6 @@ struct platform_device mxc_nand_device = {
        .resource = mxc_nand_resources,
 };
 
-#ifdef CONFIG_FB_IMX
 /*
  * lcdc:
  * - i.MX1: the basic controller
@@ -259,7 +258,6 @@ struct platform_device mxc_fb_device = {
                .coherent_dma_mask = 0xFFFFFFFF,
        },
 };
-#endif
 
 #ifdef CONFIG_MACH_MX27
 static struct resource mxc_fec_resources[] = {