summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efivars.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-11-15 21:03:16 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-11-15 21:08:13 +0100
commite83af1f18c78c7b6aa720beecc927ecc8afd3647 (patch)
tree7fd82b5817ef2354119e6154b2e6bf611a84bee3 /drivers/firmware/efivars.c
parentx86, efi: Check table header length in efi_bgrt_init() (diff)
downloadlinux-e83af1f18c78c7b6aa720beecc927ecc8afd3647.tar.xz
linux-e83af1f18c78c7b6aa720beecc927ecc8afd3647.zip
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)
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;