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: 09e7d4ed89 ("docs: Add Generic Counter interface documentation")
Signed-off-by: Randy Dunlap <[email protected]>
Acked-by: William Breathitt Gray <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
This commit is contained in:
Randy Dunlap authored and Jonathan Corbet committed 2019-05-20 13:18:45 -06:00
1 parent a188339ca5
commit fba388032c
1 file changed
+1 -1
+1 -1
View 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