diff options
| -rw-r--r-- | arch/arm64/kernel/cpu_ops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm64/kernel/cpu_ops.c b/arch/arm64/kernel/cpu_ops.c index d16978213c5b..ea001241bdd4 100644 --- a/arch/arm64/kernel/cpu_ops.c +++ b/arch/arm64/kernel/cpu_ops.c | |||
| @@ -31,13 +31,13 @@ extern const struct cpu_operations cpu_psci_ops; | |||
| 31 | 31 | ||
| 32 | const struct cpu_operations *cpu_ops[NR_CPUS] __ro_after_init; | 32 | const struct cpu_operations *cpu_ops[NR_CPUS] __ro_after_init; |
| 33 | 33 | ||
| 34 | static const struct cpu_operations *dt_supported_cpu_ops[] __initconst = { | 34 | static const struct cpu_operations *const dt_supported_cpu_ops[] __initconst = { |
| 35 | &smp_spin_table_ops, | 35 | &smp_spin_table_ops, |
| 36 | &cpu_psci_ops, | 36 | &cpu_psci_ops, |
| 37 | NULL, | 37 | NULL, |
| 38 | }; | 38 | }; |
| 39 | 39 | ||
| 40 | static const struct cpu_operations *acpi_supported_cpu_ops[] __initconst = { | 40 | static const struct cpu_operations *const acpi_supported_cpu_ops[] __initconst = { |
| 41 | #ifdef CONFIG_ARM64_ACPI_PARKING_PROTOCOL | 41 | #ifdef CONFIG_ARM64_ACPI_PARKING_PROTOCOL |
| 42 | &acpi_parking_protocol_ops, | 42 | &acpi_parking_protocol_ops, |
| 43 | #endif | 43 | #endif |
| @@ -47,7 +47,7 @@ static const struct cpu_operations *acpi_supported_cpu_ops[] __initconst = { | |||
| 47 | 47 | ||
| 48 | static const struct cpu_operations * __init cpu_get_ops(const char *name) | 48 | static const struct cpu_operations * __init cpu_get_ops(const char *name) |
| 49 | { | 49 | { |
| 50 | const struct cpu_operations **ops; | 50 | const struct cpu_operations *const *ops; |
| 51 | 51 | ||
| 52 | ops = acpi_disabled ? dt_supported_cpu_ops : acpi_supported_cpu_ops; | 52 | ops = acpi_disabled ? dt_supported_cpu_ops : acpi_supported_cpu_ops; |
| 53 | 53 | ||
