summaryrefslogtreecommitdiff
path: root/drivers/cpu
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-05-08 15:50:53 +0200
committerTom Rini <[email protected]>2026-05-18 16:56:07 -0600
commit1f1ec618f2a9129714fdb30d8120d7b3808947a2 (patch)
treedc1262926d5f8cba2f35af5fb5019e1b2cd469eb /drivers/cpu
parentda1ac763c9819a4326582bb048082ea8250a4077 (diff)
cpu: armv8: Staticize driver ops
Set the ops structure as static. The structure is not accessible from outside of this driver. Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'drivers/cpu')
-rw-r--r--drivers/cpu/armv8_cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpu/armv8_cpu.c b/drivers/cpu/armv8_cpu.c
index 4eedfe5e2c5..ed87841b723 100644
--- a/drivers/cpu/armv8_cpu.c
+++ b/drivers/cpu/armv8_cpu.c
@@ -124,7 +124,7 @@ int armv8_cpu_fill_madt(const struct udevice *dev, struct acpi_ctx *ctx)
return 0;
}
-struct acpi_ops armv8_cpu_acpi_ops = {
+static struct acpi_ops armv8_cpu_acpi_ops = {
.fill_ssdt = armv8_cpu_fill_ssdt,
.fill_madt = armv8_cpu_fill_madt,
};