summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2019-05-19 06:29:58 +0200
committerJonathan Corbet <corbet@lwn.net>2019-05-20 21:18:45 +0200
commitfba388032cf260761e5e9b05e8c0dd93417a00b4 (patch)
treeffeb44ddc2bb43523e035ec55b2192eb02887741 /Documentation/driver-api
parentLinux 5.2-rc1 (diff)
downloadlinux-fba388032cf260761e5e9b05e8c0dd93417a00b4.tar.xz
linux-fba388032cf260761e5e9b05e8c0dd93417a00b4.zip
counter: fix Documentation build error due to incorrect source file name
Fix kernel-doc build error in Documentation/driver-api/generic-counter.rst of incorrect source file name. Fixes this warning and error: Error: Cannot open file ../drivers/counter/generic-counter.c WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno -export ../drivers/counter/generic-counter.c' failed with return code 2 Fixes: 09e7d4ed8991 ("docs: Add Generic Counter interface documentation") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/driver-api')
-rw-r--r--Documentation/driver-api/generic-counter.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/driver-api/generic-counter.rst b/Documentation/driver-api/generic-counter.rst
index f51db893f595..0c161b1a3be6 100644
--- a/Documentation/driver-api/generic-counter.rst
+++ b/Documentation/driver-api/generic-counter.rst
@@ -251,7 +251,7 @@ for defining a counter device.
.. kernel-doc:: include/linux/counter.h
:internal:
-.. kernel-doc:: drivers/counter/generic-counter.c
+.. kernel-doc:: drivers/counter/counter.c
:export:
Implementation