diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2010-05-24 02:02:30 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-24 16:30:55 +0200 |
commit | 0af76d950e69725dec55dc9735a37f9f9116f07f (patch) | |
tree | 0a1cac398853ffadddb50004a507645e68abe0c0 /Documentation | |
parent | fbmem: avoid printk format warning with 32-bit resources (diff) | |
download | linux-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 'Documentation')
-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 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; |