aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2012-07-13 14:25:50 +0100
committerJon Medhurst <tixy@linaro.org>2013-04-29 09:42:56 +0100
commit59236c3bd9e6ae55fa1ec1ae30111710213cf53e (patch)
treec01ad8f75295345d42114d6df34aa92afa1593bf /include
parent0893e2552be63f9f8640b3964812dcba3787f6df (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')
-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;