Skip to contentSkip to conversation

nds32: Use static const, not const static

PATCH Superseded zhengbin 1 participant 1 message Nov 11, 2019 perf events

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

zhengbin

author
#0 lore raw

PATCH 1/1 nds32: Use static const, not const static

Move the static keyword to the front of declarations.

---
 arch/nds32/kernel/perf_event_cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/nds32/kernel/perf_event_cpu.c +1 -1
index 334c2a6..0ce6f9f 100644
@@ -1119,7 +1119,7 @@ static void cpu_pmu_init(struct nds32_pmu *cpu_pmu)
 		on_each_cpu(cpu_pmu->reset, cpu_pmu, 1);
 }
 
-const static struct of_device_id cpu_pmu_of_device_ids[] = {
+static const struct of_device_id cpu_pmu_of_device_ids[] = {
 	{.compatible = "andestech,nds32v3-pmu",
 	 .data = device_pmu_init},
 	{},

--
2.7.4