[PATCH 08/28] efi/libstub: add libstub/mem.c to documentation tree

From: Ard Biesheuvel
Date: Sun Mar 08 2020 - 04:09:38 EST


From: Heinrich Schuchardt <xypron.glpk@xxxxxx>

Let the description of the efi/libstub/mem.c functions appear in the Kernel
API documentation in chapter

The Linux driver implementerâs API guide
Linux Firmware API
UEFI Support
UEFI stub library functions

Signed-off-by: Heinrich Schuchardt <xypron.glpk@xxxxxx>
Acked-by: Jonathan Corbet <corbet@xxxxxxx>
Link: https://lore.kernel.org/r/20200221035832.144960-1-xypron.glpk@xxxxxx
Signed-off-by: Ard Biesheuvel <ardb@xxxxxxxxxx>
---
Documentation/driver-api/firmware/efi/index.rst | 11 +++++++++++
Documentation/driver-api/firmware/index.rst | 1 +
2 files changed, 12 insertions(+)
create mode 100644 Documentation/driver-api/firmware/efi/index.rst

diff --git a/Documentation/driver-api/firmware/efi/index.rst b/Documentation/driver-api/firmware/efi/index.rst
new file mode 100644
index 000000000000..4fe8abba9fc6
--- /dev/null
+++ b/Documentation/driver-api/firmware/efi/index.rst
@@ -0,0 +1,11 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+============
+UEFI Support
+============
+
+UEFI stub library functions
+===========================
+
+.. kernel-doc:: drivers/firmware/efi/libstub/mem.c
+ :internal:
diff --git a/Documentation/driver-api/firmware/index.rst b/Documentation/driver-api/firmware/index.rst
index 29da39ec4b8a..57415d657173 100644
--- a/Documentation/driver-api/firmware/index.rst
+++ b/Documentation/driver-api/firmware/index.rst
@@ -6,6 +6,7 @@ Linux Firmware API

introduction
core
+ efi/index
request_firmware
other_interfaces

--
2.17.1