From: Dmitri Vorobiev Date: Tue, 25 Nov 2008 00:54:55 +0000 (+0200) Subject: [MTD] Make init_dbox2_flash static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=baa0f0fc5f0960937433bf3a17e5c78b88e3add5;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/maps/dbox2-flash.c b/drivers/mtd/maps/dbox2-flash.c index e115667bf1d0..cfacfa6f45dd 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);