]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blobdiff - arch/mips/cavium-octeon/setup.c
MIPS: Octeon: device_tree_init: use separate pass to fill mac addresses
[mirror_ubuntu-focal-kernel.git] / arch / mips / cavium-octeon / setup.c
index 37ac229bebb6d0e2bb75d3a55da631dbf8ce67b3..60f66bbcb6209af6712b612aac3289d9ccddf04d 100644 (file)
@@ -1108,6 +1108,7 @@ void __init prom_free_prom_memory(void)
        }
 }
 
+void __init octeon_fill_mac_addresses(void);
 int octeon_prune_device_tree(void);
 
 extern const char __appended_dtb;
@@ -1143,6 +1144,7 @@ void __init device_tree_init(void)
 
        if (do_prune) {
                octeon_prune_device_tree();
+               octeon_fill_mac_addresses();
                pr_info("Using internal Device Tree.\n");
        }
        unflatten_and_copy_device_tree();