[MTD] Make init_dbox2_flash 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=baa0f0fc5f0960937433bf3a17e5c78b88e3add5
Commit:     baa0f0fc5f0960937433bf3a17e5c78b88e3add5
Parent:     2e257a2d6d5400e9ec135da406737c0cb2a02a2a
Author:     Dmitri Vorobiev <dmitri.vorobiev at movial.fi>
AuthorDate: Tue Nov 25 02:54:55 2008 +0200
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Wed Dec 10 13:01:02 2008 +0000

    [MTD] Make init_dbox2_flash static
    
    The symbol init_dbox2_flash is not used outside of the file
    drivers/mtd/maps/dbox2-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/dbox2-flash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/maps/dbox2-flash.c b/drivers/mtd/maps/dbox2-flash.c
index e115667..cfacfa6 100644
--- a/drivers/mtd/maps/dbox2-flash.c
+++ b/drivers/mtd/maps/dbox2-flash.c
@@ -69,7 +69,7 @@ struct map_info dbox2_flash_map = {
 	.phys		= WINDOW_ADDR,
 };
 
-int __init init_dbox2_flash(void)
+static int __init init_dbox2_flash(void)
 {
        	printk(KERN_NOTICE "D-Box 2 flash driver (size->0x%X mem->0x%X)\n", WINDOW_SIZE, WINDOW_ADDR);
 	dbox2_flash_map.virt = ioremap(WINDOW_ADDR, WINDOW_SIZE);



More information about the linux-mtd-cvs mailing list