]> git.karo-electronics.de Git - linux-beck.git/commitdiff
MX1: Add structure, registration functions for framebuffer and rename LCDC INT
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Wed, 2 Mar 2011 08:11:05 +0000 (08:11 +0000)
committerSascha Hauer <s.hauer@pengutronix.de>
Mon, 7 Mar 2011 18:29:36 +0000 (19:29 +0100)
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/devices-imx1.h
arch/arm/plat-mxc/devices/platform-imx-fb.c
arch/arm/plat-mxc/include/mach/mx1.h

index fd267158e0f6f1dfcb8db13b4571d3ac1501f754..da593657ff3f11b2a131902b955cae6480d5bd38 100644 (file)
@@ -9,6 +9,10 @@
 #include <mach/mx1.h>
 #include <mach/devices-common.h>
 
+extern const struct imx_imx_fb_data imx1_imx_fb_data __initconst;
+#define imx1_add_imx_fb(pdata) \
+    imx_add_imx_fb(&imx1_imx_fb_data, pdata)
+
 extern const struct imx_imx_i2c_data imx1_imx_i2c_data __initconst;
 #define imx1_add_imx_i2c(pdata)                \
        imx_add_imx_i2c(&imx1_imx_i2c_data, pdata)
index 6100a7d824dd0ad7e7881f921e44d5b5b5f0964f..79a1cb18a5b0ebb0344aa19c1f054ddc00d5dfc6 100644 (file)
                .irq = soc ## _INT_LCDC,                                \
        }
 
+#ifdef CONFIG_SOC_IMX1
+const struct imx_imx_fb_data imx1_imx_fb_data __initconst =
+       imx_imx_fb_data_entry_single(MX1, SZ_4K);
+#endif /* ifdef CONFIG_SOC_IMX1 */
+
 #ifdef CONFIG_SOC_IMX21
 const struct imx_imx_fb_data imx21_imx_fb_data __initconst =
        imx_imx_fb_data_entry_single(MX21, SZ_4K);
index 7c871b87e97a3172e18e6e8bf42410986cb3532b..97b19e7800bc15989011056e066009ef3df771e2 100644 (file)
@@ -89,7 +89,7 @@
 #define MX1_GPIO_INT_PORTA     11
 #define MX1_GPIO_INT_PORTB     12
 #define MX1_GPIO_INT_PORTC     13
-#define MX1_LCDC_INT           14
+#define MX1_INT_LCDC           14
 #define MX1_SIM_INT            15
 #define MX1_SIM_DATA_INT       16
 #define MX1_RTC_INT            17