projects/linux·commit 0af76d95

docbook: make mtd nand module init static

0af76d95 · H Hartley Sweeten <[email protected]> · 2010-05-23 17:02:30 -07:00

In the example the module_init function should be static.

Signed-off-by: H Hartley Sweeten <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
Cc: David Woodhouse <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
0af76d950e69725dec55dc9735a37f9f9116f07f
Parents
f4b87dee

Changes

1 files changed · +1 −1

FileStatusAddDelContent
Documentation/DocBook/mtdnand.tmplmodified+1−1View file

Documentation/DocBook/mtdnand.tmpl

View file
diff --git a/Documentation/DocBook/mtdnand.tmpl b/Documentation/DocBook/mtdnand.tmpl
index 133cd6c..020ac80 100644
--- a/Documentation/DocBook/mtdnand.tmpl
+++ b/Documentation/DocBook/mtdnand.tmpl
@@ -269,7 +269,7 @@ static void board_hwcontrol(struct mtd_info *mtd, int cmd)
information about the device.
</para>
<programlisting>
-int __init board_init (void)
+static int __init board_init (void)
{
struct nand_chip *this;
int err = 0;