summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-omap-2.6.29/omap3-touchbook/screen-backlight-accessible-by-user.patch
blob: 14e0934468bb77bf74491c559b4f8b5314a0bc66 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/drivers/video/backlight/backlight.c	2009-07-17 12:20:05.000000000 -0700
+++ b/drivers/video/backlight/backlight.c	2009-07-17 12:20:46.000000000 -0700
@@ -205,7 +205,7 @@
 
 static struct device_attribute bl_device_attributes[] = {
 	__ATTR(bl_power, 0644, backlight_show_power, backlight_store_power),
-	__ATTR(brightness, 0644, backlight_show_brightness,
+	__ATTR(brightness, 0666, backlight_show_brightness,
 		     backlight_store_brightness),
 	__ATTR(actual_brightness, 0444, backlight_show_actual_brightness,
 		     NULL),