Op 13 mei 2010, om 17:20 heeft Senthilvadivu Guruswamy het volgende geschreven:
quoted hunk ↗ jump to hunk
FB_OMAP2 can work without VRFB, but currently does not build. Fix this.
Signed-off-by: Senthilvadivu Guruswamy <redacted>
---
arch/arm/plat-omap/include/plat/vrfb.h | 16 ++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-omap/include/plat/vrfb.h b/arch/arm/plat-omap/include/plat/vrfb.h
index d8a03ce..3792bde 100644
--- a/arch/arm/plat-omap/include/plat/vrfb.h
+++ b/arch/arm/plat-omap/include/plat/vrfb.h
@@ -35,6 +35,7 @@ struct vrfb { bool yuv_mode;
};
+#ifdef CONFIG_OMAP2_VRFB
That is still a compiletime option, not a runtime check. You need something like if(is_omap3()), not #ifdef
regards,
Koen