Skip to content

Commit

Permalink
OAMPFB: remove unused omapfb_set_ctrl_platform_data()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomi Valkeinen committed Feb 23, 2012
1 parent 58e0d6a commit 6651b0e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions arch/arm/plat-omap/fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions include/linux/omapfb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6651b0e

Please sign in to comment.