diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2010-05-17 16:21:11 -0700 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-05-21 17:26:20 +0100 |
commit | 39c5837d7968ffd68e1d3c79efba1631b7f513d9 (patch) | |
tree | 50a90f5725eca6ad2c992bbcb73f3b5ae50c1719 | |
parent | 05ec7dd8dd5aa42c22a49682e4a51cadd4166b7e (diff) |
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.tmpl | 2 |
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; |