aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-09-20 05:23:58 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-02-23 02:39:10 -0500
commit6651b0ea9202541091f6c23ec8715122ea8cc1b0 (patch)
treeb7f5f5310e303870204ef1bbbf91afc1ad94484f
parent58e0d6ab02eb90e67720ef1c20ab606749a9ef29 (diff)
OAMPFB: remove unused omapfb_set_ctrl_platform_data()
omapfb_set_ctrl_platform_data() is no longer used, so it can be removed. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Acked-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/plat-omap/fb.c5
-rw-r--r--include/linux/omapfb.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c
index 15d4d1657b17..a05ab5673556 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)
175 reserved); 175 reserved);
176} 176}
177 177
178void omapfb_set_ctrl_platform_data(void *data)
179{
180 omapfb_config.ctrl_platform_data = data;
181}
182
183static int __init omap_init_fb(void) 178static int __init omap_init_fb(void)
184{ 179{
185 const struct omap_lcd_config *conf; 180 const struct omap_lcd_config *conf;
diff --git a/include/linux/omapfb.h b/include/linux/omapfb.h
index c0b018790f07..85cad31ca3d9 100644
--- a/include/linux/omapfb.h
+++ b/include/linux/omapfb.h
@@ -250,12 +250,10 @@ struct omapfb_mem_desc {
250struct omapfb_platform_data { 250struct omapfb_platform_data {
251 struct omap_lcd_config lcd; 251 struct omap_lcd_config lcd;
252 struct omapfb_mem_desc mem_desc; 252 struct omapfb_mem_desc mem_desc;
253 void *ctrl_platform_data;
254}; 253};
255 254
256/* in arch/arm/plat-omap/fb.c */ 255/* in arch/arm/plat-omap/fb.c */
257extern void omapfb_set_platform_data(struct omapfb_platform_data *data); 256extern void omapfb_set_platform_data(struct omapfb_platform_data *data);
258extern void omapfb_set_ctrl_platform_data(void *pdata);
259extern void omapfb_reserve_sdram_memblock(void); 257extern void omapfb_reserve_sdram_memblock(void);
260 258
261#endif 259#endif