diff options
| author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-13 15:00:22 +0000 | 
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-13 15:00:22 +0000 | 
| commit | 4de3a8e101150feaefa1139611a50ff37467f33e (patch) | |
| tree | daada742542518b02d7db7c5d32e715eaa5f166d /fs/sysfs/sysfs.h | |
| parent | 294064f58953f9964e5945424b09c51800330a83 (diff) | |
| parent | 099469502f62fbe0d7e4f0b83a2f22538367f734 (diff) | |
Merge branch 'master' into fixes
Diffstat (limited to 'fs/sysfs/sysfs.h')
| -rw-r--r-- | fs/sysfs/sysfs.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/sysfs/sysfs.h b/fs/sysfs/sysfs.h index ce29e28b766..7484a36ee67 100644 --- a/fs/sysfs/sysfs.h +++ b/fs/sysfs/sysfs.h @@ -79,7 +79,7 @@ struct sysfs_dirent {  	};  	unsigned int		s_flags; -	unsigned short		s_mode; +	umode_t 		s_mode;  	ino_t			s_ino;  	struct sysfs_inode_attrs *s_iattr;  }; @@ -229,7 +229,7 @@ int sysfs_add_file(struct sysfs_dirent *dir_sd,  		   const struct attribute *attr, int type);  int sysfs_add_file_mode(struct sysfs_dirent *dir_sd, -			const struct attribute *attr, int type, mode_t amode); +			const struct attribute *attr, int type, umode_t amode);  /*   * bin.c   */  | 
