diff options
author | Matt Fleming <matt.fleming@intel.com> | 2012-11-15 20:03:16 +0000 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2012-11-15 20:08:13 +0000 |
commit | e83af1f18c78c7b6aa720beecc927ecc8afd3647 (patch) | |
tree | 7fd82b5817ef2354119e6154b2e6bf611a84bee3 /drivers/firmware/efivars.c | |
parent | 5d6d578c170bb280db5d4779f666e456f4f82ec5 (diff) | |
download | linux-3.10-e83af1f18c78c7b6aa720beecc927ecc8afd3647.tar.gz linux-3.10-e83af1f18c78c7b6aa720beecc927ecc8afd3647.tar.bz2 linux-3.10-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c index d6b8d2f628f..47aae91ff72 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; |