docbook: make mtd nand module init static
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri May 21 12:59:02 EDT 2010
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=39c5837d7968ffd68e1d3c79efba1631b7f513d9
Commit: 39c5837d7968ffd68e1d3c79efba1631b7f513d9
Parent: 05ec7dd8dd5aa42c22a49682e4a51cadd4166b7e
Author: H Hartley Sweeten <hsweeten at visionengravers.com>
AuthorDate: Mon May 17 16:21:11 2010 -0700
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri May 21 17:26:20 2010 +0100
docbook: make mtd nand module init static
In the example the module_init function should be static.
Signed-off-by: H Hartley Sweeten <hsweeten at visionengravers.com>
Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
Documentation/DocBook/mtdnand.tmpl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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;
More information about the linux-mtd-cvs
mailing list