powerpc/prom_init: Make of_workarounds static
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 31 May 2018 04:33:39 +0000 (14:33 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 14 Oct 2018 07:04:09 +0000 (18:04 +1100)
It's not used anywhere else.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/prom_init.c

index 1af453a61991515c922e695d0aafee76b29cb991..f5b682094bde978a931a01084f82ae5da58ca687 100644 (file)
@@ -87,7 +87,7 @@
 #define OF_WORKAROUNDS 0
 #else
 #define OF_WORKAROUNDS of_workarounds
-int of_workarounds;
+static int of_workarounds;
 #endif
 
 #define OF_WA_CLAIM    1       /* do phys/virt claim separately, then map */