aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-11-11 14:05:25 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-11-12 07:55:33 -0800
commited3a6787bfff125a7aee88e5be0e0661887dfd15 (patch)
treee6aadc8f65d24fd8b90459d1db05ffe4db44922f /drivers/video
parent25672b9dde18b86e736b8138bcffbaf7158d160a (diff)
downloadkernel_samsung_aries-ed3a6787bfff125a7aee88e5be0e0661887dfd15.zip
kernel_samsung_aries-ed3a6787bfff125a7aee88e5be0e0661887dfd15.tar.gz
kernel_samsung_aries-ed3a6787bfff125a7aee88e5be0e0661887dfd15.tar.bz2
drivers/video/backlight/s6e63m0.c: set permissions on gamma_table file to 0444
gamma_table is not writable, so set permissions to 0444. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Richard Purdie <rpurdie@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/s6e63m0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/s6e63m0.c b/drivers/video/backlight/s6e63m0.c
index a3128c9..2d83286 100644
--- a/drivers/video/backlight/s6e63m0.c
+++ b/drivers/video/backlight/s6e63m0.c
@@ -729,7 +729,7 @@ static ssize_t s6e63m0_sysfs_show_gamma_table(struct device *dev,
return strlen(buf);
}
-static DEVICE_ATTR(gamma_table, 0644,
+static DEVICE_ATTR(gamma_table, 0444,
s6e63m0_sysfs_show_gamma_table, NULL);
static int __init s6e63m0_probe(struct spi_device *spi)