]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: FB: add controller platform data
authorImre Deak <imre.deak@solidboot.com>
Mon, 25 Sep 2006 23:34:40 +0000 (19:34 -0400)
committerJuha Yrjola <juha.yrjola@solidboot.com>
Fri, 29 Sep 2006 10:59:55 +0000 (13:59 +0300)
Signed-off-by: Imre Deak <imre.deak@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
arch/arm/plat-omap/fb.c
include/asm-arm/arch-omap/omapfb.h

index 220ede7f94c4f1aac3b538a11fdfc0bc0b0ebd0d..a302d9194f572f6f93d5e38c555817fac92e5aeb 100644 (file)
@@ -95,6 +95,11 @@ void omapfb_reserve_mem(void)
 
 }
 
+void omapfb_set_ctrl_platform_data(void *data)
+{
+       omapfb_config.ctrl_platform_data = data;
+}
+
 static inline int omap_init_fb(void)
 {
        const struct omap_lcd_config *conf;
index de1ded5677b15af48f15e1a3aa61b9ec59b806d4..adf1d81f22d1509fd5a4069e9d741d5a07eea0fe 100644 (file)
@@ -323,6 +323,7 @@ struct omapfb_device {
 struct omapfb_platform_data {
        struct omap_lcd_config          lcd;
        struct omapfb_mem_desc          mem_desc;
+       void                            *ctrl_platform_data;
 };
 
 #ifdef CONFIG_ARCH_OMAP1
@@ -344,8 +345,9 @@ extern int  omapfb_update_window_async(struct fb_info *fbi,
                                       void (*callback)(void *),
                                       void *callback_data);
 
-/* in arch/arm/plat-omap/devices.c */
+/* in arch/arm/plat-omap/fb.c */
 extern void omapfb_reserve_mem(void);
+extern void omapfb_set_ctrl_platform_data(void *pdata);
 
 #endif /* __KERNEL__ */