aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-handheld-4.14/tosa/0001-HACK-video-move-backlight-to-the-end-of-Makefile.patch
blob: 77ec26b5bb65fde90f971dde4fe8a4824652d0cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 314fa2306f49b92d7f000584c4b33db9c9a47cfe Mon Sep 17 00:00:00 2001
From: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Date: Wed, 9 Oct 2013 05:58:21 +0400
Subject: [PATCH] HACK: video: move backlight/ to the end of Makefile

Thus tosa-lcd/tosa-bl will be initialized after tmiofb is started.
Otherwise tosa-lcd/tosa-bl can easily hang the unit.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>

---
 drivers/video/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/video/Makefile b/drivers/video/Makefile
index df7650a..213067b 100644
--- a/drivers/video/Makefile
+++ b/drivers/video/Makefile
@@ -5,7 +5,6 @@ obj-$(CONFIG_HDMI)                += hdmi.o
 obj-$(CONFIG_VT)		  += console/
 obj-$(CONFIG_FB_STI)		  += console/
 obj-$(CONFIG_LOGO)		  += logo/
-obj-y				  += backlight/
 
 obj-y				  += fbdev/
 
@@ -13,3 +12,5 @@ obj-$(CONFIG_VIDEOMODE_HELPERS) += display_timing.o videomode.o
 ifeq ($(CONFIG_OF),y)
 obj-$(CONFIG_VIDEOMODE_HELPERS) += of_display_timing.o of_videomode.o
 endif
+
+obj-y				  += backlight/