Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 001b7f3e authored by Tony Lindgren's avatar Tony Lindgren Committed by Tomi Valkeinen
Browse files

ARM: OMAP2+: Fix compile error when FB_OMAP2 is not set



Otherwise we will get:

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

Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 4614679c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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