summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/fb.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-03-08 12:43:28 -0800
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-03-09 09:53:21 +0200
commit001b7f3ecd164ba748e45f698714b3a574a11438 (patch)
treee331bf6d9b1807027841325bddf11bcb82c5f347 /arch/arm/plat-omap/fb.c
parent4614679c9d3b77e87b390b6afe8a8dfc980f4387 (diff)
downloadlinux-001b7f3ecd164ba748e45f698714b3a574a11438.tar.bz2
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: Tony Lindgren <tony@atomide.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/fb.c')
-rw-r--r--arch/arm/plat-omap/fb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c
index 24e62693b809..dd6f92c99e56 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