diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2010-05-23 20:02:30 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-24 10:30:55 -0400 |
| commit | 0af76d950e69725dec55dc9735a37f9f9116f07f (patch) | |
| tree | 0a1cac398853ffadddb50004a507645e68abe0c0 | |
| parent | f4b87dee923342505e1ddba8d34ce9de33e75050 (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>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
| -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) | |||
| 269 | information about the device. | 269 | information about the device. |
| 270 | </para> | 270 | </para> |
| 271 | <programlisting> | 271 | <programlisting> |
| 272 | int __init board_init (void) | 272 | static int __init board_init (void) |
| 273 | { | 273 | { |
| 274 | struct nand_chip *this; | 274 | struct nand_chip *this; |
| 275 | int err = 0; | 275 | int err = 0; |
