aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Ceresoli <[email protected]>2023-12-01 14:10:42 +0100
committerJonathan Corbet <[email protected]>2023-12-08 15:35:32 -0700
commit2b4ba158ae04a6bbda20c2305b35c13dbc7ced18 (patch)
treeb87e58c43c576d3de242f42c1d65acfb6b48dc03
parent8926f57943d4352612b40e96c8232bef4cc6e362 (diff)
docs: nvmem: generate kernel-doc API documentation
This is useful on its own, and it also enables hyperlink generation for functions mentioned in ReST documentation. Signed-off-by: Luca Ceresoli <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--Documentation/driver-api/nvmem.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/driver-api/nvmem.rst b/Documentation/driver-api/nvmem.rst
index de221e91c8e3..d5655b95c0f4 100644
--- a/Documentation/driver-api/nvmem.rst
+++ b/Documentation/driver-api/nvmem.rst
@@ -200,3 +200,9 @@ and let you add cells dynamically.
Another use case for layouts is the post processing of cells. With layouts,
it is possible to associate a custom post processing hook to a cell. It
even possible to add this hook to cells not created by the layout itself.
+
+9. Internal kernel API
+======================
+
+.. kernel-doc:: drivers/nvmem/core.c
+ :export: