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

Ard Biesheuvel
2020-03-08T08:09:38Z

From: Heinrich Schuchardt <xypron.glpk@gmx.de>

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@gmx.de>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20200221035832.144960-1-xypron.glpk@gmx.de
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
---
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