Skip to content

Commit

Permalink
ARM: OMAP2+: Fix compile error when FB_OMAP2 is not set
Browse files Browse the repository at this point in the history
Otherwise we will get:

arch/arm/plat-omap/fb.c:101: error: expected ‘)’ before ‘*’ token

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Tony Lindgren authored and Tomi Valkeinen committed Mar 9, 2012
1 parent 4614679 commit 001b7f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/arm/plat-omap/fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ arch_initcall(omap_init_fb);

#else

void __init omapfb_set_lcd_config(omap_lcd_config *config) { }
void __init omapfb_set_lcd_config(const struct omap_lcd_config *config)
{
}

#endif

0 comments on commit 001b7f3

Please sign in to comment.