[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-doc
Subject: [PATCH] DocBook/mtdnand.tmpl: module_init() functions are static
From: H Hartley Sweeten <hartleys () visionengravers ! com>
Date: 2010-01-19 21:01:58
Message-ID: 201001191401.58643.hartleys () visionengravers ! com
[Download RAW message or body]
In the example the module_init function should be static.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Randy Dunlap <rdunlap@xenotime.net>
---
diff --git a/Documentation/DocBook/mtdnand.tmpl b/Documentation/DocBook/mtdnand.tmpl
index 5e7d84b..60170a9 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.
</para>
<programlisting>
-int __init board_init (void)
+static int __init board_init (void)
{
struct nand_chip *this;
int err = 0;
--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic