summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/ipaq-flash.c
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>2008-11-25 01:55:00 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-12-10 14:01:06 +0100
commit9bd1c9dac880c85f5f142fbe3680964cdeac188a (patch)
tree7fdb09ab6212b5fbe4574ef886763fbec74c1696 /drivers/mtd/maps/ipaq-flash.c
parent[MTD] Make init_dbox2_flash static (diff)
downloadlinux-9bd1c9dac880c85f5f142fbe3680964cdeac188a.tar.xz
linux-9bd1c9dac880c85f5f142fbe3680964cdeac188a.zip
[MTD] Make ipaq_mtd_init function static
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>
Diffstat (limited to 'drivers/mtd/maps/ipaq-flash.c')
-rw-r--r--drivers/mtd/maps/ipaq-flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/ipaq-flash.c b/drivers/mtd/maps/ipaq-flash.c
index ed58f6a77bd9..748c85f635f1 100644
--- a/drivers/mtd/maps/ipaq-flash.c
+++ b/drivers/mtd/maps/ipaq-flash.c
@@ -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;