Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0af76d95 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Linus Torvalds
Browse files

docbook: make mtd nand module init static



In the example the module_init function should be static.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f4b87dee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;