libmisc/fdt: fix node initialise error with RTEMS_DEBUG

This commit is contained in:
Chris Johns
2021-08-21 12:46:32 +10:00
parent 522db76a96
commit 4dc81f65c7
+2
View File
@@ -637,6 +637,8 @@ rtems_fdt_register (const void* dtb, rtems_fdt_handle* handle)
blob->blob = dtb;
blob->name = NULL;
rtems_chain_initialize_node(&blob->node);
fdt = rtems_fdt_lock ();
rtems_chain_append_unprotected (&fdt->blobs, &blob->node);