From: H Hartley Sweeten Date: Mon, 24 May 2010 00:02:30 +0000 (-0700) Subject: docbook: make mtd nand module init static X-Git-Tag: v2.6.35-rc1~429 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0af76d950e69725dec55dc9735a37f9f9116f07f;p=platform%2Fkernel%2Flinux-stable.git docbook: make mtd nand module init static In the example the module_init function should be static. Signed-off-by: H Hartley Sweeten Signed-off-by: Randy Dunlap Cc: David Woodhouse Signed-off-by: Linus Torvalds --- diff --git a/Documentation/DocBook/mtdnand.tmpl b/Documentation/DocBook/mtdnand.tmpl index 133cd6c..020ac80 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. -int __init board_init (void) +static int __init board_init (void) { struct nand_chip *this; int err = 0;