]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[efi] Mark UsbHostController.h as a non-imported header
authorMichael Brown <mcb30@ipxe.org>
Mon, 10 Mar 2025 11:15:04 +0000 (11:15 +0000)
committerMichael Brown <mcb30@ipxe.org>
Mon, 10 Mar 2025 11:15:04 +0000 (11:15 +0000)
The UsbHostController.h header has been removed from the EDK2 codebase
since it was never defined in a released UEFI specification.  However,
we may still encounter it in the wild and so it is useful to retain
the GUID and the corresponding protocol name for debug messages.

Add an iPXE include guard to this file so that the EDK2 header import
script will no longer attempt to import it from the EDK2 tree.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/efi/Protocol/UsbHostController.h

index 5336f00b322703c2016ea04a4e39534cac2f7f7a..3ba091122125194c8c219797c0054651d76b28df 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef _IPXE_EFI_USBHOSTCONTROLLER_H
+#define _IPXE_EFI_USBHOSTCONTROLLER_H
+
 /** @file
   EFI_USB_HC_PROTOCOL as defined in EFI 1.10.
 
@@ -501,3 +504,5 @@ struct _EFI_USB_HC_PROTOCOL {
 extern EFI_GUID  gEfiUsbHcProtocolGuid;
 
 #endif
+
+#endif /* _IPXE_EFI_USBHOSTCONTROLLER_H */