efi_loader: efi_net: use efi_add_protocol
authorHeinrich Schuchardt <[email protected]>
Sun, 26 Nov 2017 13:05:13 +0000 (14:05 +0100)
committerAlexander Graf <[email protected]>
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 <[email protected]>
Signed-off-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
lib/efi_loader/efi_net.c