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>
This commit is contained in:
H Hartley Sweeten 2010-05-23 17:02:30 -07:00 committed by Linus Torvalds
parent f4b87dee92
commit 0af76d950e

View file

@ -269,7 +269,7 @@ static void board_hwcontrol(struct mtd_info *mtd, int cmd)
information about the device. information about the device.
</para> </para>
<programlisting> <programlisting>
int __init board_init (void) static int __init board_init (void)
{ {
struct nand_chip *this; struct nand_chip *this;
int err = 0; int err = 0;