mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01:00
efi_loader: manage protocols in a linked list
Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
committed by
Alexander Graf
parent
72292aba4f
commit
69fb6b1afc
@@ -224,6 +224,7 @@ static void efi_disk_add_dev(const char *name,
|
||||
goto out_of_memory;
|
||||
|
||||
/* Hook up to the device list */
|
||||
INIT_LIST_HEAD(&diskobj->parent.protocols);
|
||||
list_add_tail(&diskobj->parent.link, &efi_obj_list);
|
||||
|
||||
/* Fill in object data */
|
||||
|
||||
Reference in New Issue
Block a user