summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc/dc_sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/tegra/dc/dc_sysfs.c')
-rw-r--r--drivers/video/tegra/dc/dc_sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/tegra/dc/dc_sysfs.c b/drivers/video/tegra/dc/dc_sysfs.c
index 37c286235b39..1e52b70d1b43 100644
--- a/drivers/video/tegra/dc/dc_sysfs.c
+++ b/drivers/video/tegra/dc/dc_sysfs.c
@@ -230,7 +230,7 @@ static ssize_t orientation_3d_store(struct device *dev,
}
static DEVICE_ATTR(stereo_orientation,
- S_IRUGO|S_IWUGO, orientation_3d_show, orientation_3d_store);
+ S_IRUGO|S_IWUSR, orientation_3d_show, orientation_3d_store);
#define MODE_2D "2d"
#define MODE_3D "3d"
@@ -280,7 +280,7 @@ static ssize_t mode_3d_store(struct device *dev,
}
static DEVICE_ATTR(stereo_mode,
- S_IRUGO|S_IWUGO, mode_3d_show, mode_3d_store);
+ S_IRUGO|S_IWUSR, mode_3d_show, mode_3d_store);
void __devexit tegra_dc_remove_sysfs(struct device *dev)
{