summaryrefslogtreecommitdiffstats
path: root/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/omap3-touchbook/0011-Make-backlight-controls-accessible-to-users.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap-psp-2.6.32/omap3-touchbook/0011-Make-backlight-controls-accessible-to-users.patch')
-rw-r--r--extras/recipes-kernel/linux/linux-omap-psp-2.6.32/omap3-touchbook/0011-Make-backlight-controls-accessible-to-users.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/omap3-touchbook/0011-Make-backlight-controls-accessible-to-users.patch b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/omap3-touchbook/0011-Make-backlight-controls-accessible-to-users.patch
new file mode 100644
index 00000000..c6d36787
--- /dev/null
+++ b/extras/recipes-kernel/linux/linux-omap-psp-2.6.32/omap3-touchbook/0011-Make-backlight-controls-accessible-to-users.patch
@@ -0,0 +1,25 @@
1From b46a494e0c02450e412db221d75446671b6ef511 Mon Sep 17 00:00:00 2001
2From: Gregoire Gentil <gregroire@gentil.com>
3Date: Fri, 12 Mar 2010 14:41:05 +0100
4Subject: [PATCH 11/17] Make backlight controls accessible to users
5
6---
7 drivers/video/backlight/backlight.c | 2 +-
8 1 files changed, 1 insertions(+), 1 deletions(-)
9
10diff --git a/drivers/video/backlight/backlight.c b/drivers/video/backlight/backlight.c
11index 6615ac7..7898707 100644
12--- a/drivers/video/backlight/backlight.c
13+++ b/drivers/video/backlight/backlight.c
14@@ -228,7 +228,7 @@ static void bl_device_release(struct device *dev)
15
16 static struct device_attribute bl_device_attributes[] = {
17 __ATTR(bl_power, 0644, backlight_show_power, backlight_store_power),
18- __ATTR(brightness, 0644, backlight_show_brightness,
19+ __ATTR(brightness, 0666, backlight_show_brightness,
20 backlight_store_brightness),
21 __ATTR(actual_brightness, 0444, backlight_show_actual_brightness,
22 NULL),
23--
241.6.6.1
25