[PATCH 13/20] [MTD] Make init_redwood_flash function static

Dmitri Vorobiev dmitri.vorobiev at movial.fi
Mon Nov 24 19:55:04 EST 2008


The function init_redwood_flash is needlessly defined global,
make it static by this patch.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev at movial.fi>
---
 drivers/mtd/maps/redwood.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/maps/redwood.c b/drivers/mtd/maps/redwood.c
index de002eb..933c0b6 100644
--- a/drivers/mtd/maps/redwood.c
+++ b/drivers/mtd/maps/redwood.c
@@ -122,7 +122,7 @@ struct map_info redwood_flash_map = {
 
 static struct mtd_info *redwood_mtd;
 
-int __init init_redwood_flash(void)
+static int __init init_redwood_flash(void)
 {
 	int err;
 
-- 
1.5.3




More information about the linux-mtd mailing list