linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP2+: Fix compile error when FB_OMAP2 is not set
@ 2012-03-08 20:43 Tony Lindgren
  2012-03-08 20:46 ` Tony Lindgren
  2012-03-09  7:55 ` Tomi Valkeinen
  0 siblings, 2 replies; 5+ messages in thread
From: Tony Lindgren @ 2012-03-08 20:43 UTC (permalink / raw)
  To: linux-arm-kernel

Otherwise we will get:

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

Signed-off-by: Tony Lindgren <tony@atomide.com>

---

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-09 18:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-08 20:43 [PATCH] ARM: OMAP2+: Fix compile error when FB_OMAP2 is not set Tony Lindgren
2012-03-08 20:46 ` Tony Lindgren
2012-03-09  8:11   ` Tomi Valkeinen
2012-03-09 18:26     ` Tony Lindgren
2012-03-09  7:55 ` Tomi Valkeinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).