[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210409093815.118619-1-zhengzucheng@huawei.com>
Date: Fri, 9 Apr 2021 17:38:15 +0800
From: Zucheng Zheng <zhengzucheng@...wei.com>
To: <benh@...nel.crashing.org>, <mpe@...erman.id.au>,
<paulus@...ba.org>, <rppt@...nel.org>,
<christophe.leroy@...roup.eu>, <akpm@...ux-foundation.org>,
<oohall@...il.com>
CC: <linuxppc-dev@...ts.ozlabs.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH -next] powerpc/pmac: Make some symbols static
ppc_override_l2cr/ppc_override_l2cr_value/has_l2cache symbol is not used
outside of setup.c, so commit marks it static.
Reported-by: Hulk Robot <hulkci@...wei.com>
Signed-off-by: Zucheng Zheng <zhengzucheng@...wei.com>
---
arch/powerpc/platforms/powermac/setup.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/platforms/powermac/setup.c b/arch/powerpc/platforms/powermac/setup.c
index 86aee3f2483f..db5107c80485 100644
--- a/arch/powerpc/platforms/powermac/setup.c
+++ b/arch/powerpc/platforms/powermac/setup.c
@@ -71,9 +71,9 @@
#undef SHOW_GATWICK_IRQS
-int ppc_override_l2cr = 0;
-int ppc_override_l2cr_value;
-int has_l2cache = 0;
+static int ppc_override_l2cr;
+static int ppc_override_l2cr_value;
+static int has_l2cache;
int pmac_newworld;
--
2.17.1
Powered by blists - more mailing lists