Skip to content

Commit

Permalink
efivarfs: Make efivarfs_fill_super() static
Browse files Browse the repository at this point in the history
sparse is complaining that efivarfs_fill_super() doesn't have a
prototype. Make it static to avoid the warning.

Cc: Xie ChanglongX <[email protected]>
Cc: Matthew Garrett <[email protected]>
Cc: Jeremy Kerr <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
  • Loading branch information
Matt Fleming committed Nov 15, 2012
1 parent 5d6d578 commit e83af1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/firmware/efivars.c
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ static int efivarfs_unlink(struct inode *dir, struct dentry *dentry)
return -EINVAL;
};

int efivarfs_fill_super(struct super_block *sb, void *data, int silent)
static int efivarfs_fill_super(struct super_block *sb, void *data, int silent)
{
struct inode *inode = NULL;
struct dentry *root;
Expand Down

0 comments on commit e83af1f

Please sign in to comment.