[MTD] Make the init_edb7312nor function static

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed Dec 10 08:59:02 EST 2008


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=d8156adb7a2b820b49c8fbb106c2e53160ea88ac
Commit:     d8156adb7a2b820b49c8fbb106c2e53160ea88ac
Parent:     8d240325b3f7310c5ffc7c5d15e3093462b4cada
Author:     Dmitri Vorobiev <dmitri.vorobiev at movial.fi>
AuthorDate: Tue Nov 25 02:54:56 2008 +0200
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Wed Dec 10 13:00:51 2008 +0000

    [MTD] Make the init_edb7312nor function static
    
    The init_edb7312nor function is needlessly defined global in
    drivers/mtd/maps/edb7312.c, and this patch makes 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/edb7312.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/maps/edb7312.c b/drivers/mtd/maps/edb7312.c
index 9433738..be9e90b 100644
--- a/drivers/mtd/maps/edb7312.c
+++ b/drivers/mtd/maps/edb7312.c
@@ -71,7 +71,7 @@ static const char *probes[] = { "RedBoot", "cmdlinepart", NULL };
 static int                   mtd_parts_nb = 0;
 static struct mtd_partition *mtd_parts    = 0;
 
-int __init init_edb7312nor(void)
+static int __init init_edb7312nor(void)
 {
 	static const char *rom_probe_types[] = PROBETYPES;
 	const char **type;



More information about the linux-mtd-cvs mailing list