aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBojan Prtvar <prtvar.b@gmail.com>2013-09-03 08:56:20 +0200
committerMark Brown <broonie@linaro.org>2014-07-23 21:06:45 +0100
commitb71a9083ab82f42d06edee48be7a5861ffb4c7b5 (patch)
treeb863ae6fcc578905fdfded621eb44e96baf40ce1
parentf5c16b28d4e8e93d25fef525374f4dc43a7d58b4 (diff)
downloadlinux-linaro-stable-b71a9083ab82f42d06edee48be7a5861ffb4c7b5.tar.gz
efivars: Mark local function as static
This fixes the following sparse warning drivers/firmware/efi/efivars.c:567:6: warning: symbol 'efivars_sysfs_exit' was not declared. Should it be static? Signed-off-by: Bojan Prtvar <prtvar.b@gmail.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com> (cherry picked from commit 6f9dd30c22da4e48c4b7b837e9641f072e673161) Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--drivers/firmware/efi/efivars.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efi/efivars.c b/drivers/firmware/efi/efivars.c
index 8a7432a4b413..933eb027d527 100644
--- a/drivers/firmware/efi/efivars.c
+++ b/drivers/firmware/efi/efivars.c
@@ -564,7 +564,7 @@ static int efivar_sysfs_destroy(struct efivar_entry *entry, void *data)
return 0;
}
-void efivars_sysfs_exit(void)
+static void efivars_sysfs_exit(void)
{
/* Remove all entries and destroy */
__efivar_entry_iter(efivar_sysfs_destroy, &efivar_sysfs_list, NULL, NULL);