[MTD] Make ipaq_mtd_init function static
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Wed Dec 10 08:59:03 EST 2008
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=9bd1c9dac880c85f5f142fbe3680964cdeac188a
Commit: 9bd1c9dac880c85f5f142fbe3680964cdeac188a
Parent: baa0f0fc5f0960937433bf3a17e5c78b88e3add5
Author: Dmitri Vorobiev <dmitri.vorobiev at movial.fi>
AuthorDate: Tue Nov 25 02:55:00 2008 +0200
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Wed Dec 10 13:01:06 2008 +0000
[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 at movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
drivers/mtd/maps/ipaq-flash.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/maps/ipaq-flash.c b/drivers/mtd/maps/ipaq-flash.c
index ed58f6a..748c85f 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;
More information about the linux-mtd-cvs
mailing list