summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2014-09-29 13:33:17 +0200
committerBorislav Petkov <bp@suse.de>2014-10-21 22:04:58 +0200
commit8f7c31f6cd499877aa6b96decd31b406a6cd4ddf (patch)
treed9f63b09baa757b939a71347342ce609e58daa27 /drivers/acpi
parentAPEI, GHES: Cleanup unnecessary function for lockless list (diff)
downloadlinux-8f7c31f6cd499877aa6b96decd31b406a6cd4ddf.tar.xz
linux-8f7c31f6cd499877aa6b96decd31b406a6cd4ddf.zip
GHES: Make ghes_estatus_caches static
It is used only in ghes.c. Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/apei/ghes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/apei/ghes.c b/drivers/acpi/apei/ghes.c
index 9dcc9158c8e2..1b6aa514848f 100644
--- a/drivers/acpi/apei/ghes.c
+++ b/drivers/acpi/apei/ghes.c
@@ -128,7 +128,7 @@ static DEFINE_SPINLOCK(ghes_ioremap_lock_irq);
static struct gen_pool *ghes_estatus_pool;
static unsigned long ghes_estatus_pool_size_request;
-struct ghes_estatus_cache *ghes_estatus_caches[GHES_ESTATUS_CACHES_SIZE];
+static struct ghes_estatus_cache *ghes_estatus_caches[GHES_ESTATUS_CACHES_SIZE];
static atomic_t ghes_estatus_cache_alloced;
static int ghes_ioremap_init(void)