summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/mtdnand.tmpl
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2010-05-24 02:02:30 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-24 16:30:55 +0200
commit0af76d950e69725dec55dc9735a37f9f9116f07f (patch)
tree0a1cac398853ffadddb50004a507645e68abe0c0 /Documentation/DocBook/mtdnand.tmpl
parentfbmem: avoid printk format warning with 32-bit resources (diff)
downloadlinux-0af76d950e69725dec55dc9735a37f9f9116f07f.tar.xz
linux-0af76d950e69725dec55dc9735a37f9f9116f07f.zip
docbook: make mtd nand module init static
In the example the module_init function should be static. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--Documentation/DocBook/mtdnand.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/DocBook/mtdnand.tmpl b/Documentation/DocBook/mtdnand.tmpl
index 133cd6c3f3c1..020ac80d4682 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;