[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <12741384713102@xenotime.net>
Date:	Mon, 17 May 2010 16:21:11 -0700
From:	Randy Dunlap <rdunlap@...otime.net>
To:	linux-kernel@...r.kernel.org
Cc:	David Woodhouse <dwmw2@...radead.org>,
	H Hartley Sweeten <hsweeten@...ionengravers.com>
Subject: [PATCH 1/10] docbook: make mtd nand module init static
From: H Hartley Sweeten <hsweeten@...ionengravers.com>
In the example the module_init function should be static.
Signed-off-by: H Hartley Sweeten <hsweeten@...ionengravers.com>
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
Cc: David Woodhouse <dwmw2@...radead.org>
---
 Documentation/DocBook/mtdnand.tmpl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--- lnx-2634-docs.orig/Documentation/DocBook/mtdnand.tmpl
+++ lnx-2634-docs/Documentation/DocBook/mtdnand.tmpl
@@ -269,7 +269,7 @@ static void board_hwcontrol(struct mtd_i
 			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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists