lkml.org 
[lkml]   [2018]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC PATCH] efi: debugfs_blob[] can be static

Fixes: ac46fdb7891f ("efi: Export boot-services code and data as debugfs-blobs")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
efi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c
index fddc5f7..9f1b8e6 100644
--- a/drivers/firmware/efi/efi.c
+++ b/drivers/firmware/efi/efi.c
@@ -321,7 +321,7 @@ static inline int efivar_ssdt_load(void) { return 0; }

#define EFI_DEBUGFS_MAX_BLOBS 32

-struct debugfs_blob_wrapper debugfs_blob[EFI_DEBUGFS_MAX_BLOBS];
+static struct debugfs_blob_wrapper debugfs_blob[EFI_DEBUGFS_MAX_BLOBS];

static void __init efi_debugfs_init(void)
{
\
 
 \ /
  Last update: 2018-04-01 02:12    [W:0.156 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site