diff options
author | Bojan Prtvar <prtvar.b@gmail.com> | 2013-09-03 02:56:20 -0400 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-09-05 05:38:23 -0400 |
commit | 6f9dd30c22da4e48c4b7b837e9641f072e673161 (patch) | |
tree | f058eabe7d78fe8120a2abdf1082680191f0809a /drivers/firmware/efi | |
parent | 6e4664525b1db28f8c4e1130957f70a94c19213e (diff) |
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>
Diffstat (limited to 'drivers/firmware/efi')
-rw-r--r-- | drivers/firmware/efi/efivars.c | 2 |
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) | |||
564 | return 0; | 564 | return 0; |
565 | } | 565 | } |
566 | 566 | ||
567 | void efivars_sysfs_exit(void) | 567 | static void efivars_sysfs_exit(void) |
568 | { | 568 | { |
569 | /* Remove all entries and destroy */ | 569 | /* Remove all entries and destroy */ |
570 | __efivar_entry_iter(efivar_sysfs_destroy, &efivar_sysfs_list, NULL, NULL); | 570 | __efivar_entry_iter(efivar_sysfs_destroy, &efivar_sysfs_list, NULL, NULL); |