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

Commit 39c5837d authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by David Woodhouse
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>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 05ec7dd8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;