From: Matt Fleming Date: Thu, 15 Nov 2012 20:03:16 +0000 (+0000) Subject: efivarfs: Make efivarfs_fill_super() static X-Git-Tag: v3.8-rc1~110^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e83af1f18c78c7b6aa720beecc927ecc8afd3647;p=platform%2Fupstream%2Fkernel-adaptation-pc.git 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 Cc: Matthew Garrett Cc: Jeremy Kerr Signed-off-by: Matt Fleming --- diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c index d6b8d2f..47aae91 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;