From 001b7f3ecd164ba748e45f698714b3a574a11438 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Thu, 8 Mar 2012 12:43:28 -0800 Subject: [PATCH] ARM: OMAP2+: Fix compile error when FB_OMAP2 is not set MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Otherwise we will get: arch/arm/plat-omap/fb.c:101: error: expected ‘)’ before ‘*’ token Signed-off-by: Tony Lindgren Signed-off-by: Tomi Valkeinen --- arch/arm/plat-omap/fb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c index 24e62693b80..dd6f92c99e5 100644 --- a/arch/arm/plat-omap/fb.c +++ b/arch/arm/plat-omap/fb.c @@ -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 -- 2.39.5