Subject: [RFC PATCH 01/11] powerpc/prom_init: Make of_workarounds static

From: Benjamin Herrenschmidt <[email-masked]>
Date: Thu, 31 May 2018 14:33:39 +1000

It's not used anywhere else

Signed-off-by: Benjamin Herrenschmidt <[email-masked]>
---
 arch/powerpc/kernel/prom_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c
index f9d6befb55a6..d6f52cc141c3 100644
--- a/arch/powerpc/kernel/prom_init.c
+++ b/arch/powerpc/kernel/prom_init.c
@@ -88,7 +88,7 @@
 #define OF_WORKAROUNDS	0
 #else
 #define OF_WORKAROUNDS	of_workarounds
-int of_workarounds;
+static int of_workarounds __promdata;
 #endif
 
 #define OF_WA_CLAIM	1	/* do phys/virt claim separately, then map */
-- 
2.17.0