mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
switch procfs to umode_t use
both proc_dir_entry ->mode and populating functions Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
587a1f1659
commit
d161a13f97
13 changed files with 31 additions and 32 deletions
|
|
@ -873,7 +873,7 @@ DECLARE_FILE_FUNCTIONS(alarm);
|
|||
|
||||
static const struct battery_file {
|
||||
struct file_operations ops;
|
||||
mode_t mode;
|
||||
umode_t mode;
|
||||
const char *name;
|
||||
} acpi_battery_file[] = {
|
||||
FILE_DESCRIPTION_RO(info),
|
||||
|
|
|
|||
Loading…
Reference in a new issue