1 From c109db2ee2bca2bdc3af243afda91a96bbd1726f Mon Sep 17 00:00:00 2001
2 From: Gregoire Gentil <gregroire@gentil.com>
3 Date: Fri, 12 Mar 2010 14:41:05 +0100
4 Subject: [PATCH 13/14] Make backlight controls accessible to users
7 drivers/video/backlight/backlight.c | 2 +-
8 1 files changed, 1 insertions(+), 1 deletions(-)
10 diff --git a/drivers/video/backlight/backlight.c b/drivers/video/backlight/backlight.c
11 index 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)
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,