ARM HDLCD: Enable HDLCD_NO_VIRTUAL_SCREEN on Android
This is a hack which prevents annoying screen flicker in the Android UI.
Signed-off-by: Jon Medhurst <tixy@linaro.org>
diff --git a/include/linux/arm-hdlcd.h b/include/linux/arm-hdlcd.h
index 124995a..939f3a8 100644
--- a/include/linux/arm-hdlcd.h
+++ b/include/linux/arm-hdlcd.h
@@ -107,6 +107,10 @@
*/
//#define HDLCD_NO_VIRTUAL_SCREEN
+#ifdef CONFIG_ANDROID
+#define HDLCD_NO_VIRTUAL_SCREEN
+#endif
+
struct hdlcd_device {
struct fb_info fb;
struct device *dev;