summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-omap-2.6.29/omap3-touchbook/screen-backlight-accessible-by-user.patch
diff options
context:
space:
mode:
authorSergey Lapin <slapin@ossfans.org>2009-10-13 17:30:38 +0400
committerSergey Lapin <slapin@ossfans.org>2009-10-13 17:30:38 +0400
commitc9d89f888ec69245c56358b454f37cffd8bb87ac (patch)
tree10d3aefa0fc1c74baeccbc456ce16e0d42816f17 /recipes/linux/linux-omap-2.6.29/omap3-touchbook/screen-backlight-accessible-by-user.patch
parent43653cf44fc541bd55cb094392444a7faa7bb3be (diff)
parent925dea6086bd5f7479eda0226f32bcd46ba025a1 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/linux/linux-omap-2.6.29/omap3-touchbook/screen-backlight-accessible-by-user.patch')
-rw-r--r--recipes/linux/linux-omap-2.6.29/omap3-touchbook/screen-backlight-accessible-by-user.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/linux/linux-omap-2.6.29/omap3-touchbook/screen-backlight-accessible-by-user.patch b/recipes/linux/linux-omap-2.6.29/omap3-touchbook/screen-backlight-accessible-by-user.patch
new file mode 100644
index 0000000000..14e0934468
--- /dev/null
+++ b/recipes/linux/linux-omap-2.6.29/omap3-touchbook/screen-backlight-accessible-by-user.patch
@@ -0,0 +1,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),