summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2020-07-19 10:07:35 +0200
committerLee Jones <lee.jones@linaro.org>2020-07-20 11:26:22 +0200
commit5ab4246cfc6f62cd0eb4c95a029e6fa7f29b3984 (patch)
treecd8533ec9359a6a65925da80b5943c350381accc /Documentation
parentbacklight: backlight: Add overview and update existing doc (diff)
downloadlinux-5ab4246cfc6f62cd0eb4c95a029e6fa7f29b3984.tar.xz
linux-5ab4246cfc6f62cd0eb4c95a029e6fa7f29b3984.zip
doc-rst: Wire-up Backlight kernel-doc documentation
Include backlight so the documentation is now generated with make htmldocs and friends. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/gpu/backlight.rst12
-rw-r--r--Documentation/gpu/index.rst1
2 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/gpu/backlight.rst b/Documentation/gpu/backlight.rst
new file mode 100644
index 000000000000..9ebfc9d0aced
--- /dev/null
+++ b/Documentation/gpu/backlight.rst
@@ -0,0 +1,12 @@
+=================
+Backlight support
+=================
+
+.. kernel-doc:: drivers/video/backlight/backlight.c
+ :doc: overview
+
+.. kernel-doc:: include/linux/backlight.h
+ :internal:
+
+.. kernel-doc:: drivers/video/backlight/backlight.c
+ :export:
diff --git a/Documentation/gpu/index.rst b/Documentation/gpu/index.rst
index 1fcf8e851e15..c9a51e3bfb5a 100644
--- a/Documentation/gpu/index.rst
+++ b/Documentation/gpu/index.rst
@@ -12,6 +12,7 @@ Linux GPU Driver Developer's Guide
drm-uapi
drm-client
drivers
+ backlight
vga-switcheroo
vgaarbiter
todo