From cead4dbc03ba6eb2e35bac04439b76a0cc2286ce Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Tue, 16 May 2006 13:54:50 +0100 Subject: [MTD NAND] Make various initfuncs static, remove #ifdef MODULE from exitfuncs We all inherited the same error from the original NAND board driver which got copied and changed. Fix them all at once... Signed-off-by: David Woodhouse --- drivers/mtd/nand/toto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/mtd/nand/toto.c') diff --git a/drivers/mtd/nand/toto.c b/drivers/mtd/nand/toto.c index 24cfa9e2e02..c51c8955951 100644 --- a/drivers/mtd/nand/toto.c +++ b/drivers/mtd/nand/toto.c @@ -115,7 +115,7 @@ static void toto_hwcontrol(struct mtd_info *mtd, int cmd) /* * Main initialization routine */ -int __init toto_init(void) +static int __init toto_init(void) { struct nand_chip *this; int err = 0; -- cgit v1.2.3