diff options
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.patch | 11 |
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), |