aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorLuca Ceresoli <luca.ceresoli@bootlin.com>2023-12-01 14:10:42 +0100
committerJonathan Corbet <corbet@lwn.net>2023-12-08 15:35:32 -0700
commit2b4ba158ae04a6bbda20c2305b35c13dbc7ced18 (patch)
treeb87e58c43c576d3de242f42c1d65acfb6b48dc03 /Documentation/driver-api
parent8926f57943d4352612b40e96c8232bef4cc6e362 (diff)
downloadlinux-2b4ba158ae04a6bbda20c2305b35c13dbc7ced18.tar.gz
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 <luca.ceresoli@bootlin.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20231201-nvmem-docs-kerneldoc-v1-1-3e8f2b706ce6@bootlin.com
Diffstat (limited to 'Documentation/driver-api')
-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 de221e91c8e34d..d5655b95c0f414 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: