summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
index 42720307..7baadf2e 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
@@ -435,7 +435,7 @@ static ssize_t aelpg_param_read(struct device *device,
435 g->pmu.aelpg_param[3], g->pmu.aelpg_param[4]); 435 g->pmu.aelpg_param[3], g->pmu.aelpg_param[4]);
436} 436}
437 437
438static DEVICE_ATTR(aelpg_param, S_IRWXUGO, 438static DEVICE_ATTR(aelpg_param, ROOTRW,
439 aelpg_param_read, aelpg_param_store); 439 aelpg_param_read, aelpg_param_store);
440 440
441static ssize_t aelpg_enable_store(struct device *device, 441static ssize_t aelpg_enable_store(struct device *device,
@@ -648,7 +648,7 @@ static ssize_t tpc_fs_mask_read(struct device *device,
648 return sprintf(buf, "0x%x\n", tpc_fs_mask); 648 return sprintf(buf, "0x%x\n", tpc_fs_mask);
649} 649}
650 650
651static DEVICE_ATTR(tpc_fs_mask, S_IRWXUGO, tpc_fs_mask_read, tpc_fs_mask_store); 651static DEVICE_ATTR(tpc_fs_mask, ROOTRW, tpc_fs_mask_read, tpc_fs_mask_store);
652 652
653void gk20a_remove_sysfs(struct device *dev) 653void gk20a_remove_sysfs(struct device *dev)
654{ 654{