aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2012-07-13 14:25:50 +0100
committerAlex Shi <alex.shi@linaro.org>2014-07-16 09:52:45 +0800
commitb0e4320c3e6810bff7eaaf63d2bd9c94d326f7f5 (patch)
treecbf791d2f3b6eb7447f34bba7a7d70bb8192ad2c /include
parent30e77716dc7558d550731156c9e872c31db62264 (diff)
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> (cherry picked from commit a0464c9ae35a01afba84693f3f31172eb3e65002) Signed-off-by: Alex Shi <alex.shi@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/arm-hdlcd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/arm-hdlcd.h b/include/linux/arm-hdlcd.h
index 124995aa34f5..939f3a81d56b 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;