summaryrefslogtreecommitdiff
path: root/lib/utils/ipi/fdt_ipi_mswi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/ipi/fdt_ipi_mswi.c')
-rw-r--r--lib/utils/ipi/fdt_ipi_mswi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/ipi/fdt_ipi_mswi.c b/lib/utils/ipi/fdt_ipi_mswi.c
index 1f0fda7..0176941 100644
--- a/lib/utils/ipi/fdt_ipi_mswi.c
+++ b/lib/utils/ipi/fdt_ipi_mswi.c
@@ -51,7 +51,7 @@ static int ipi_mswi_cold_init(void *fdt, int nodeoff,
return 0;
}
-static unsigned long clint_offset = CLINT_MSWI_OFFSET;
+static const unsigned long clint_offset = CLINT_MSWI_OFFSET;
static const struct fdt_match ipi_mswi_match[] = {
{ .compatible = "riscv,clint0", .data = &clint_offset },