diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c index 15d4d1657b170bf0aba06975505739976c3685f0..a05ab56735568d48a1f416cdf9a24b859fb82b9e 100644 --- a/arch/arm/plat-omap/fb.c +++ b/arch/arm/plat-omap/fb.c @@ -175,11 +175,6 @@ void __init omapfb_reserve_sdram_memblock(void) reserved); } -void omapfb_set_ctrl_platform_data(void *data) -{ - omapfb_config.ctrl_platform_data = data; -} - static int __init omap_init_fb(void) { const struct omap_lcd_config *conf; diff --git a/include/linux/omapfb.h b/include/linux/omapfb.h index c0b018790f07a3e2bc858eba8ea7acaa73a006a5..85cad31ca3d970e19fa5e43f892a362fa8a97826 100644 --- a/include/linux/omapfb.h +++ b/include/linux/omapfb.h @@ -250,12 +250,10 @@ struct omapfb_mem_desc { struct omapfb_platform_data { struct omap_lcd_config lcd; struct omapfb_mem_desc mem_desc; - void *ctrl_platform_data; }; /* in arch/arm/plat-omap/fb.c */ extern void omapfb_set_platform_data(struct omapfb_platform_data *data); -extern void omapfb_set_ctrl_platform_data(void *pdata); extern void omapfb_reserve_sdram_memblock(void); #endif