diff mbox

[09/25] sparse: hmi_lock can be static

Message ID 1424776479-13958-10-git-send-email-clg@fr.ibm.com
State Accepted
Headers show

Commit Message

Cédric Le Goater Feb. 24, 2015, 11:14 a.m. UTC
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
---
 core/exceptions.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/core/exceptions.c b/core/exceptions.c
index 15870341948a..552123aff23d 100644
--- a/core/exceptions.c
+++ b/core/exceptions.c
@@ -37,7 +37,7 @@  extern uint32_t exc_secondary_patch_mtsrr0;
 extern uint32_t exc_secondary_patch_mtsrr1;
 extern uint32_t exc_secondary_patch_rfid;
 
-struct lock hmi_lock = LOCK_UNLOCKED;
+static struct lock hmi_lock = LOCK_UNLOCKED;
 
 #define REG		"%016llx"
 #define REGS_PER_LINE	4