aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efivars.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-11-15 15:03:16 -0500
committerMatt Fleming <matt.fleming@intel.com>2012-11-15 15:08:13 -0500
commite83af1f18c78c7b6aa720beecc927ecc8afd3647 (patch)
tree7fd82b5817ef2354119e6154b2e6bf611a84bee3 /drivers/firmware/efivars.c
parent5d6d578c170bb280db5d4779f666e456f4f82ec5 (diff)
efivarfs: Make efivarfs_fill_super() static
sparse is complaining that efivarfs_fill_super() doesn't have a prototype. Make it static to avoid the warning. Cc: Xie ChanglongX <changlongx.xie@intel.com> Cc: Matthew Garrett <mjg@redhat.com> Cc: Jeremy Kerr <jeremy.kerr@canonical.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'drivers/firmware/efivars.c')
-rw-r--r--drivers/firmware/efivars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c
index d6b8d2f628fa..47aae91ff72c 100644
--- a/drivers/firmware/efivars.c
+++ b/drivers/firmware/efivars.c
@@ -1004,7 +1004,7 @@ static int efivarfs_unlink(struct inode *dir, struct dentry *dentry)
1004 return -EINVAL; 1004 return -EINVAL;
1005}; 1005};
1006 1006
1007int efivarfs_fill_super(struct super_block *sb, void *data, int silent) 1007static int efivarfs_fill_super(struct super_block *sb, void *data, int silent)
1008{ 1008{
1009 struct inode *inode = NULL; 1009 struct inode *inode = NULL;
1010 struct dentry *root; 1010 struct dentry *root;