diff options
author | Koen Kooi <koen@openembedded.org> | 2009-09-13 16:30:10 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-09-15 19:26:15 +0200 |
commit | d861047e32eacf91974108a5eeba1f847bad5b9f (patch) | |
tree | ac07eaf5fe935b4f58aae20528f3cf101b712549 /recipes/linux/linux-omap-2.6.29/omap3-touchbook/dss2-blank-rotate-accessible-by-user.patch | |
parent | 72c1fd8a2b6ab59a28467c033ec7fa18cfb67225 (diff) |
linux-omap 2.6.29: add support for the omap3-touchbook
Diffstat (limited to 'recipes/linux/linux-omap-2.6.29/omap3-touchbook/dss2-blank-rotate-accessible-by-user.patch')
-rw-r--r-- | recipes/linux/linux-omap-2.6.29/omap3-touchbook/dss2-blank-rotate-accessible-by-user.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/linux/linux-omap-2.6.29/omap3-touchbook/dss2-blank-rotate-accessible-by-user.patch b/recipes/linux/linux-omap-2.6.29/omap3-touchbook/dss2-blank-rotate-accessible-by-user.patch new file mode 100644 index 0000000000..d75f15d00a --- /dev/null +++ b/recipes/linux/linux-omap-2.6.29/omap3-touchbook/dss2-blank-rotate-accessible-by-user.patch @@ -0,0 +1,20 @@ +--- a/drivers/video/fbsysfs.c 2009-07-17 12:23:16.000000000 -0700 ++++ b/drivers/video/fbsysfs.c 2009-07-17 12:24:32.000000000 -0700 +@@ -489,7 +489,7 @@ + * fbdev to use configfs instead of sysfs */ + static struct device_attribute device_attrs[] = { + __ATTR(bits_per_pixel, S_IRUGO|S_IWUSR, show_bpp, store_bpp), +- __ATTR(blank, S_IRUGO|S_IWUSR, show_blank, store_blank), ++ __ATTR(blank, S_IRUGO|S_IWUGO, show_blank, store_blank), + __ATTR(console, S_IRUGO|S_IWUSR, show_console, store_console), + __ATTR(cursor, S_IRUGO|S_IWUSR, show_cursor, store_cursor), + __ATTR(mode, S_IRUGO|S_IWUSR, show_mode, store_mode), +@@ -498,7 +498,7 @@ + __ATTR(virtual_size, S_IRUGO|S_IWUSR, show_virtual, store_virtual), + __ATTR(name, S_IRUGO, show_name, NULL), + __ATTR(stride, S_IRUGO, show_stride, NULL), +- __ATTR(rotate, S_IRUGO|S_IWUSR, show_rotate, store_rotate), ++ __ATTR(rotate, S_IRUGO|S_IWUGO, show_rotate, store_rotate), + __ATTR(state, S_IRUGO|S_IWUSR, show_fbstate, store_fbstate), + #ifdef CONFIG_FB_BACKLIGHT + __ATTR(bl_curve, S_IRUGO|S_IWUSR, show_bl_curve, store_bl_curve), |