ARM: OMAP2+: Fix compile error when FB_OMAP2 is not set
authorTony Lindgren <tony@atomide.com>
Thu, 8 Mar 2012 20:43:28 +0000 (12:43 -0800)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 9 Mar 2012 07:53:21 +0000 (09:53 +0200)
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>
arch/arm/plat-omap/fb.c

index 24e6269..dd6f92c 100644 (file)
@@ -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