summaryrefslogtreecommitdiff
path: root/target/linux/xburst/patches-2.6.32/103-lcm.patch
blob: b1f71ba2dd4ba81023531023d75be3aa1c900a38 (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
33
34
35
36
From 060fafbe37894116fd264d15c6949f00e9f86343 Mon Sep 17 00:00:00 2001
From: Lars-Peter Clausen <lars@metafoo.de>
Date: Mon, 11 Jan 2010 04:29:43 +0100
Subject: [PATCH] /opt/Projects/openwrt/target/linux/xburst/patches-2.6.31/103-lcm.patch

---
 drivers/video/backlight/Kconfig  |    7 +++++++
 drivers/video/backlight/Makefile |    1 +
 2 files changed, 8 insertions(+), 0 deletions(-)

--- a/drivers/video/backlight/Kconfig
+++ b/drivers/video/backlight/Kconfig
@@ -100,6 +100,13 @@ config LCD_HP700
 	  If you have an HP Jornada 700 series handheld (710/720/728)
 	  say Y to enable LCD control driver.
 
+config LCD_GPM940B0
+	tristate "Giantplus GPM940B0 LCD and backlight driver"
+	depends on LCD_CLASS_DEVICE && BACKLIGHT_CLASS_DEVICE && SPI
+	default n
+	help
+      LCD and backlight driver for the Giantplus GPM940B0 LCD module.
+
 #
 # Backlight
 #
--- a/drivers/video/backlight/Makefile
+++ b/drivers/video/backlight/Makefile
@@ -10,6 +10,7 @@ obj-$(CONFIG_LCD_PLATFORM)	   += platfor
 obj-$(CONFIG_LCD_VGG2432A4)	   += vgg2432a4.o
 obj-$(CONFIG_LCD_TDO24M)	   += tdo24m.o
 obj-$(CONFIG_LCD_TOSA)		   += tosa_lcd.o
+obj-$(CONFIG_LCD_GPM940B0)	   += gpm940b0.o
 
 obj-$(CONFIG_BACKLIGHT_CLASS_DEVICE) += backlight.o
 obj-$(CONFIG_BACKLIGHT_ATMEL_PWM)    += atmel-pwm-bl.o