From: Randy Dunlap on
From: H Hartley Sweeten <hsweeten(a)>

In the example the module_init function should be static.

Signed-off-by: H Hartley Sweeten <hsweeten(a)>
Signed-off-by: Randy Dunlap <randy.dunlap(a)>
Cc: David Woodhouse <dwmw2(a)>
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.
-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(a)
More majordomo info at
Please read the FAQ at