mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
sysfs: mark a locally-only used function static
Signed-off-by: Stefan Richter <[email protected]> Acked-by: David P. Quigley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
68ea809af4
commit
f38506c49d
1 changed files with 2 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ int __init sysfs_inode_init(void)
|
|||
return bdi_init(&sysfs_backing_dev_info);
|
||||
}
|
||||
|
||||
struct sysfs_inode_attrs *sysfs_init_inode_attrs(struct sysfs_dirent *sd)
|
||||
static struct sysfs_inode_attrs *sysfs_init_inode_attrs(struct sysfs_dirent *sd)
|
||||
{
|
||||
struct sysfs_inode_attrs *attrs;
|
||||
struct iattr *iattrs;
|
||||
|
|
@ -64,6 +64,7 @@ struct sysfs_inode_attrs *sysfs_init_inode_attrs(struct sysfs_dirent *sd)
|
|||
|
||||
return attrs;
|
||||
}
|
||||
|
||||
int sysfs_setattr(struct dentry * dentry, struct iattr * iattr)
|
||||
{
|
||||
struct inode * inode = dentry->d_inode;
|
||||
|
|
|
|||
Loading…
Reference in a new issue