[PATCH 02/10] efi: Include device-path functions in the EFI API docs
Simon Glass
sjg at chromium.org
Fri May 23 15:06:37 CEST 2025
Include these function so they can be browsed in the API docs. Exclude
END since it causes a warning, which becomes an error:
./include/efi_device_path.h:22: warning: cannot understand function
prototype: 'const struct efi_device_path END; '
Signed-off-by: Simon Glass <sjg at chromium.org>
Suggested-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
doc/api/efi.rst | 6 ++++++
include/efi_device_path.h | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/doc/api/efi.rst b/doc/api/efi.rst
index 49814bcf5ea..d16851ca437 100644
--- a/doc/api/efi.rst
+++ b/doc/api/efi.rst
@@ -184,6 +184,12 @@ Driver binding protocol
.. kernel-doc:: include/efi_driver.h
:internal:
+Device paths
+------------
+
+.. kernel-doc:: include/efi_device_path.h
+ :internal:
+
Unit testing
------------
diff --git a/include/efi_device_path.h b/include/efi_device_path.h
index cea7fbafb34..252253c5f28 100644
--- a/include/efi_device_path.h
+++ b/include/efi_device_path.h
@@ -13,7 +13,7 @@
struct blk_desc;
struct efi_load_option;
-/**
+/*
* END - Template end node for EFI device paths.
*
* Represents the terminating node of an EFI device path.
--
2.43.0
More information about the U-Boot
mailing list