[MTD] Make init_redwood_flash function static

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


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=9a2b3974ef3aff7994e802f07fcebe3d8e7a936d
Commit:     9a2b3974ef3aff7994e802f07fcebe3d8e7a936d
Parent:     6127cfcd3d134ec63d0d154bb24823bd33774c10
Author:     Dmitri Vorobiev <dmitri.vorobiev at movial.fi>
AuthorDate: Tue Nov 25 02:55:04 2008 +0200
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Wed Dec 10 13:01:29 2008 +0000

    [MTD] Make init_redwood_flash function static
    
    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>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 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;
 



More information about the linux-mtd-cvs mailing list