diff options
author | Koen Kooi <k-kooi@ti.com> | 2010-03-31 12:01:25 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-04-12 19:43:31 +0200 |
commit | a13876b305618e4491524d287f47f0c2f7eafa74 (patch) | |
tree | bcbdc307f931a2bebbe4d0469e565bc911bc5d63 /recipes/linux/linux-omap-psp-2.6.32/omap3-touchbook/0012-Make-backlight-controls-accessible-to-users.patch | |
parent | a4c06e0afce07bca6223eedea39de8d0ab34a94f (diff) | |
download | openembedded-a13876b305618e4491524d287f47f0c2f7eafa74.tar.gz |
linux-omap-psp 2.6.32: update touchbook patches and defconfig
Diffstat (limited to 'recipes/linux/linux-omap-psp-2.6.32/omap3-touchbook/0012-Make-backlight-controls-accessible-to-users.patch')
-rw-r--r-- | recipes/linux/linux-omap-psp-2.6.32/omap3-touchbook/0012-Make-backlight-controls-accessible-to-users.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/linux/linux-omap-psp-2.6.32/omap3-touchbook/0012-Make-backlight-controls-accessible-to-users.patch b/recipes/linux/linux-omap-psp-2.6.32/omap3-touchbook/0012-Make-backlight-controls-accessible-to-users.patch new file mode 100644 index 0000000000..970a97bfe4 --- /dev/null +++ b/recipes/linux/linux-omap-psp-2.6.32/omap3-touchbook/0012-Make-backlight-controls-accessible-to-users.patch @@ -0,0 +1,25 @@ +From 06e169d76148f90f500e76e646a0e595ba0048a9 Mon Sep 17 00:00:00 2001 +From: Gregoire Gentil <gregroire@gentil.com> +Date: Fri, 12 Mar 2010 14:41:05 +0100 +Subject: [PATCH 12/16] Make backlight controls accessible to users + +--- + drivers/video/backlight/backlight.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/drivers/video/backlight/backlight.c b/drivers/video/backlight/backlight.c +index 6615ac7..7898707 100644 +--- a/drivers/video/backlight/backlight.c ++++ b/drivers/video/backlight/backlight.c +@@ -228,7 +228,7 @@ static void bl_device_release(struct device *dev) + + 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), +-- +1.6.6.1 + |