counter: fix Documentation build error due to incorrect source file name
authorRandy Dunlap <rdunlap@infradead.org>
Sun, 19 May 2019 04:29:58 +0000 (21:29 -0700)
committerJonathan Corbet <corbet@lwn.net>
Mon, 20 May 2019 19:18:45 +0000 (13:18 -0600)
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>
Documentation/driver-api/generic-counter.rst

index f51db893f59532041c2cd3ce3b0f856a35c00738..0c161b1a3be6d3d44e185a4b419abedb77663100 100644 (file)
@@ -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