[<prev] [next>] [day] [month] [year] [list]
Message-ID: <VI1PR07MB443207D4A7601168EC51C641FD000@VI1PR07MB4432.eurprd07.prod.outlook.com>
Date: Wed, 22 May 2019 10:03:17 +0000
From: Philippe Mazenauer <philippe.mazenauer@...look.de>
To: unlisted-recipients:; (no To-header on input)
CC: Philippe Mazenauer <philippe.mazenauer@...look.de>,
Russell King <linux@...linux.org.uk>,
Rob Herring <robh@...nel.org>,
"moderated list:ARM PORT" <linux-arm-kernel@...ts.infradead.org>,
open list <linux-kernel@...r.kernel.org>
Subject: [PATCH] arm: topology: make function static
Make function cpu_corepower_mask() static, as it is only referenced in
this file.
../arch/arm/kernel/topology.c:195:23: warning: no previous prototype for ‘cpu_corepower_mask’ [-Wmissing-prototypes]
const struct cpumask *cpu_corepower_mask(int cpu)
^~~~~~~~~~~~~~~~~~
Signed-off-by: Philippe Mazenauer <philippe.mazenauer@...look.de>
---
arch/arm/kernel/topology.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c
index 60e375ce1ab2..5c8075ec8065 100644
--- a/arch/arm/kernel/topology.c
+++ b/arch/arm/kernel/topology.c
@@ -192,7 +192,7 @@ const struct cpumask *cpu_coregroup_mask(int cpu)
* The current assumption is that we can power gate each core independently.
* This will be superseded by DT binding once available.
*/
-const struct cpumask *cpu_corepower_mask(int cpu)
+static const struct cpumask *cpu_corepower_mask(int cpu)
{
return &cpu_topology[cpu].thread_sibling;
}
--
2.17.1
Powered by blists - more mailing lists