docs: Get module_init() docs from module.h
authorJonathan Corbet <corbet@lwn.net>
Mon, 17 Jul 2017 19:55:58 +0000 (13:55 -0600)
committerJonathan Corbet <corbet@lwn.net>
Mon, 17 Jul 2017 19:55:58 +0000 (13:55 -0600)
The docs build complains:

    ./include/linux/init.h:1: warning: no structured comments found

The problem is that the comments in question were moved to module.h in
commit 0fd972a7d91d (module: relocate module_init from init.h to
module.h).  Fix basics.rst to match.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/driver-api/basics.rst

index ab82250c7727309d2aace9284c26316c770c1fb5..cbfb5a825077bba88be9b92c936c1bfc603fde2f 100644 (file)
@@ -4,7 +4,7 @@ Driver Basics
 Driver Entry and Exit points
 ----------------------------
 
-.. kernel-doc:: include/linux/init.h
+.. kernel-doc:: include/linux/module.h
    :internal:
 
 Driver device table