Signed-off-by: Imre Deak <imre.deak@solidboot.com>
Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com>
 
 }
 
+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;
 
 struct omapfb_platform_data {
        struct omap_lcd_config          lcd;
        struct omapfb_mem_desc          mem_desc;
+       void                            *ctrl_platform_data;
 };
 
 #ifdef CONFIG_ARCH_OMAP1
                                       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__ */