aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2012-07-13 14:25:50 +0100
committerJon Medhurst <tixy@linaro.org>2014-03-31 13:58:09 +0100
commita0464c9ae35a01afba84693f3f31172eb3e65002 (patch)
treecbf791d2f3b6eb7447f34bba7a7d70bb8192ad2c /include/linux
parentf2f662336fed53bb7a34d422bcd0cdd3a896f837 (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>
Diffstat (limited to 'include/linux')
-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 124995aa34f..939f3a81d56 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;