diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-29 09:49:38 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-29 13:54:58 -0500 |
commit | 2b9175c174b83b8d97db9398efe948fa9092938f (patch) | |
tree | 636ccdc70d45b3bb1268dfd00f985c2015b8d7dc /drivers/mtd/nand/nandsim.c | |
parent | ee2d49de3e3a0b846ecedb36fec0e4a5ff222dcb (diff) |
[MTD] Make functions static, include header files with prototypes
This patch contains the following possible cleanups:
- every file should #include the headers containing the prototypes for
it's global functions
- make needlessly global functions static
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/nand/nandsim.c')
-rw-r--r-- | drivers/mtd/nand/nandsim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nandsim.c b/drivers/mtd/nand/nandsim.c index de4500395300..a0af92cc7efd 100644 --- a/drivers/mtd/nand/nandsim.c +++ b/drivers/mtd/nand/nandsim.c | |||
@@ -1486,7 +1486,7 @@ ns_nand_verify_buf(struct mtd_info *mtd, const u_char *buf, int len) | |||
1486 | /* | 1486 | /* |
1487 | * Module initialization function | 1487 | * Module initialization function |
1488 | */ | 1488 | */ |
1489 | int __init ns_init_module(void) | 1489 | static int __init ns_init_module(void) |
1490 | { | 1490 | { |
1491 | struct nand_chip *chip; | 1491 | struct nand_chip *chip; |
1492 | struct nandsim *nand; | 1492 | struct nandsim *nand; |