[MTD] Make ipaq_mtd_init function static
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Tue, 25 Nov 2008 00:55:00 +0000 (02:55 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 10 Dec 2008 13:01:06 +0000 (13:01 +0000)
The symbol ipaq_mtd_init is not used anywhere outside of
drivers/mtd/maps/ipaq-flash.c, so make it static.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/ipaq-flash.c

index ed58f6a77bd92771d118223f6a31825a831bb7b3..748c85f635f1b340523b9cab6511455369c770e0 100644 (file)
@@ -202,7 +202,7 @@ static const char *part_probes[] = { "cmdlinepart", "RedBoot", NULL };
 
 static int __init h1900_special_case(void);
 
-int __init ipaq_mtd_init(void)
+static int __init ipaq_mtd_init(void)
 {
        struct mtd_partition *parts = NULL;
        int nb_parts = 0;