summaryrefslogtreecommitdiff
path: root/src/soc/cavium/cn81xx
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/cavium/cn81xx')
-rw-r--r--src/soc/cavium/cn81xx/soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/cavium/cn81xx/soc.c b/src/soc/cavium/cn81xx/soc.c
index efe7d6d204..f1e11d335b 100644
--- a/src/soc/cavium/cn81xx/soc.c
+++ b/src/soc/cavium/cn81xx/soc.c
@@ -149,7 +149,7 @@ static void dt_platform_fixup_mac(struct device_tree_node *node)
if (*localmac)
return;
if (used_mac < num_free_mac_addresses) {
- const u64 genmac = next_free_mac_address + used_mac;
+ u64 genmac = next_free_mac_address + used_mac;
dt_add_bin_prop(node, name, &genmac, 6);
used_mac++;
return;