diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-05-16 13:54:50 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-05-16 13:54:50 +0100 |
commit | cead4dbc03ba6eb2e35bac04439b76a0cc2286ce (patch) | |
tree | 7563bdedb51b496ee57f5f1b7141305d59dcddf1 /drivers/mtd/nand/toto.c | |
parent | ce589a0328866228412ea0df2c834688da8f4700 (diff) | |
download | blackbird-op-linux-cead4dbc03ba6eb2e35bac04439b76a0cc2286ce.tar.gz blackbird-op-linux-cead4dbc03ba6eb2e35bac04439b76a0cc2286ce.zip |
[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 <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/nand/toto.c')
-rw-r--r-- | drivers/mtd/nand/toto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/toto.c b/drivers/mtd/nand/toto.c index 24cfa9e2e025..c51c89559514 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; |