From: H Hartley Sweeten Date: Mon, 17 May 2010 23:21:11 +0000 (-0700) Subject: docbook: make mtd nand module init static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=39c5837d7968ffd68e1d3c79efba1631b7f513d9;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 Signed-off-by: David Woodhouse --- 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) information about the device. -int __init board_init (void) +static int __init board_init (void) { struct nand_chip *this; int err = 0;