mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
switch ->is_visible() to returning umode_t
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
9104e427f3
commit
587a1f1659
33 changed files with 70 additions and 70 deletions
|
|
@ -33,7 +33,7 @@ static int create_files(struct sysfs_dirent *dir_sd, struct kobject *kobj,
|
|||
int error = 0, i;
|
||||
|
||||
for (i = 0, attr = grp->attrs; *attr && !error; i++, attr++) {
|
||||
mode_t mode = 0;
|
||||
umode_t mode = 0;
|
||||
|
||||
/* in update mode, we're changing the permissions or
|
||||
* visibility. Do this by first removing then
|
||||
|
|
|
|||
Loading…
Reference in a new issue