From patchwork Thu Mar 8 20:43:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: ARM: OMAP2+: Fix compile error when FB_OMAP2 is not set Date: Thu, 08 Mar 2012 10:43:28 -0000 From: Tony Lindgren X-Patchwork-Id: 145618 Message-Id: <20120308204328.GW12083@atomide.com> To: Tomi Valkeinen Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Otherwise we will get: arch/arm/plat-omap/fb.c:101: error: expected ‘)’ before ‘*’ token Signed-off-by: Tony Lindgren --- Tomi, you need something like this for what you have in for-next. --- 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