diff options
| author | Michael Brown | 2020-10-30 14:51:30 +0100 |
|---|---|---|
| committer | Michael Brown | 2020-10-30 14:54:55 +0100 |
| commit | 16873703ddea2d64fac1809967ef5198b8764baa (patch) | |
| tree | 0e82a7b1d7719cfebaa6649406804ab99524738e /src/usr | |
| parent | [efi] Fix memory copy length used in efi_nullify_name2() (diff) | |
| download | ipxe-16873703ddea2d64fac1809967ef5198b8764baa.tar.gz ipxe-16873703ddea2d64fac1809967ef5198b8764baa.tar.xz ipxe-16873703ddea2d64fac1809967ef5198b8764baa.zip | |
[efi] Avoid dragging in USB subsystem via efi_usb_path()
Commit 87e39a9c9 ("[efi] Split efi_usb_path() out to a separate
function") unintentionally introduced an undefined symbol reference
from efi_path.o to usb_depth(), causing the USB subsystem to become a
dependency of all EFI builds.
Fix by converting usb_depth() to a static inline function.
Reported-by: Pico Mitchell <pico@randomapplications.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/usr')
0 files changed, 0 insertions, 0 deletions
