提交 0af76d95 编写于 作者: H H Hartley Sweeten 提交者: Linus Torvalds

docbook: make mtd nand module init static

In the example the module_init function should be static.
Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 f4b87dee
...@@ -269,7 +269,7 @@ static void board_hwcontrol(struct mtd_info *mtd, int cmd) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册