summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-11-29 14:49:38 +0000
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-11-29 19:54:58 +0100
commit2b9175c174b83b8d97db9398efe948fa9092938f (patch)
tree636ccdc70d45b3bb1268dfd00f985c2015b8d7dc /drivers/mtd/nand
parentee2d49de3e3a0b846ecedb36fec0e4a5ff222dcb (diff)
downloadop-kernel-dev-2b9175c174b83b8d97db9398efe948fa9092938f.zip
op-kernel-dev-2b9175c174b83b8d97db9398efe948fa9092938f.tar.gz
[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')
-rw-r--r--drivers/mtd/nand/nandsim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nandsim.c b/drivers/mtd/nand/nandsim.c
index de45003..a0af92c 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)
/*
* Module initialization function
*/
-int __init ns_init_module(void)
+static int __init ns_init_module(void)
{
struct nand_chip *chip;
struct nandsim *nand;
OpenPOWER on IntegriCloud