projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd1e68d
)
rk: ion: change ion's debug node for other r/w
author
CMY
<cmy@rock-chips.com>
Fri, 28 Nov 2014 07:07:49 +0000
(15:07 +0800)
committer
CMY
<cmy@rock-chips.com>
Fri, 28 Nov 2014 07:07:49 +0000
(15:07 +0800)
drivers/staging/android/ion/rockchip/rockchip_ion_snapshot.c
patch
|
blob
|
history
diff --git
a/drivers/staging/android/ion/rockchip/rockchip_ion_snapshot.c
b/drivers/staging/android/ion/rockchip/rockchip_ion_snapshot.c
index 00a1d6ccfea6a55199655d622756aa8ef844321d..e163032d931ca48c782e9ca410bdee677b46d829 100755
(executable)
--- a/
drivers/staging/android/ion/rockchip/rockchip_ion_snapshot.c
+++ b/
drivers/staging/android/ion/rockchip/rockchip_ion_snapshot.c
@@
-79,7
+79,7
@@
int rockchip_ion_snapshot_debugfs(struct dentry* root)
struct dentry* last_ion_dentry;
struct dentry* ion_snapshot_dentry;
- last_ion_dentry = debugfs_create_file("last_ion",
S_IRUSR
,
+ last_ion_dentry = debugfs_create_file("last_ion",
0664
,
root,
NULL, &last_ion_fops);
if (!last_ion_dentry) {
@@
-89,7
+89,7
@@
int rockchip_ion_snapshot_debugfs(struct dentry* root)
path, "last_ion");
}
- ion_snapshot_dentry = debugfs_create_file("ion_snapshot",
S_IRUSR
,
+ ion_snapshot_dentry = debugfs_create_file("ion_snapshot",
0664
,
root,
NULL, &ion_snapshot_fops);
if (!ion_snapshot_dentry) {