efi_loader: efi_net: use efi_add_protocol
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 26 Nov 2017 13:05:13 +0000 (14:05 +0100)
committerAlexander Graf <agraf@suse.de>
Fri, 1 Dec 2017 12:36:40 +0000 (13:36 +0100)
commit84d14568ca1a70ffd8925c357e3db2a6a8437922
tree55d4ec7b1cc4353e7f5fc53dca9e35405aba6125
parent4b9f7aaf7c33eee196b7d203b99c2cdf2eaec803
efi_loader: efi_net: use efi_add_protocol

Use efi_add_protocol to add protocols.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_net.c