efivarfs: Make efivarfs_fill_super() static
authorMatt Fleming <matt.fleming@intel.com>
Thu, 15 Nov 2012 20:03:16 +0000 (20:03 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 15 Nov 2012 20:08:13 +0000 (20:08 +0000)
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>
drivers/firmware/efivars.c

index d6b8d2f..47aae91 100644 (file)
@@ -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;