summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH Hartley Sweeten2010-05-18 01:21:11 +0200
committerDavid Woodhouse2010-05-21 18:26:20 +0200
commit39c5837d7968ffd68e1d3c79efba1631b7f513d9 (patch)
tree50a90f5725eca6ad2c992bbcb73f3b5ae50c1719
parentMerge git://git.infradead.org/mtd-2.6 (diff)
downloadkernel-qcow2-linux-39c5837d7968ffd68e1d3c79efba1631b7f513d9.tar.gz
kernel-qcow2-linux-39c5837d7968ffd68e1d3c79efba1631b7f513d9.tar.xz
kernel-qcow2-linux-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 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;