summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2010-05-17 16:21:11 -0700
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-05-21 17:26:20 +0100
commit39c5837d7968ffd68e1d3c79efba1631b7f513d9 (patch)
tree50a90f5725eca6ad2c992bbcb73f3b5ae50c1719
parent05ec7dd8dd5aa42c22a49682e4a51cadd4166b7e (diff)
downloadlinux-3.10-39c5837d7968ffd68e1d3c79efba1631b7f513d9.tar.gz
linux-3.10-39c5837d7968ffd68e1d3c79efba1631b7f513d9.tar.bz2
linux-3.10-39c5837d7968ffd68e1d3c79efba1631b7f513d9.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> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-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 133cd6c3f3c..020ac80d468 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;