GHES: Make ghes_estatus_caches static
authorBorislav Petkov <bp@suse.de>
Mon, 29 Sep 2014 11:33:17 +0000 (13:33 +0200)
committerBorislav Petkov <bp@suse.de>
Tue, 21 Oct 2014 20:04:58 +0000 (22:04 +0200)
It is used only in ghes.c.

Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/acpi/apei/ghes.c

index 9dcc9158c8e2d0943d6dcc0b5c17ec764d2060ad..1b6aa514848f8e66b090bf69e552ae377d3db40f 100644 (file)
@@ -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)