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:
Al Viro 2011-07-24 03:36:29 -04:00
commit d161a13f97
13 changed files with 31 additions and 32 deletions

View file

@ -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),