public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] s6e63m0: set permissions on gamma_table file to 0444
@ 2010-06-23  8:49 Axel Lin
  0 siblings, 0 replies; only message in thread
From: Axel Lin @ 2010-06-23  8:49 UTC (permalink / raw)
  To: linux-kernel; +Cc: Richard Purdie, Andrew Morton, InKi Dae, Randy Dunlap

gamma_table is not writable, thus set permissions to 0444.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/video/backlight/s6e63m0.c |    2 +-
 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)
-- 
1.5.4.3




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-23  8:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-23  8:49 [PATCH] s6e63m0: set permissions on gamma_table file to 0444 Axel Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox