Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1689480

[PATCH 1/7] docs: Get module_init() docs from module.h

From Jonathan Corbet <corbet@lwn.net>
Newsgroups linux.kernel
Subject [PATCH 1/7] docs: Get module_init() docs from module.h
Date 2017-07-17 23:10 +0200
Message-ID <u4lrh-1Mq-83@gated-at.bofh.it> (permalink)
References <u4lrc-1Mq-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/driver-api/basics.rst b/Documentation/driver-api/basics.rst
index ab82250c7727..cbfb5a825077 100644
--- a/Documentation/driver-api/basics.rst
+++ b/Documentation/driver-api/basics.rst
@@ -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
-- 
2.9.4

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 1/7] docs: Get module_init() docs from module.h Jonathan Corbet <corbet@lwn.net> - 2017-07-17 23:10 +0200

csiph-web