From: Dmitri Vorobiev Date: Tue, 25 Nov 2008 00:55:11 +0000 (+0200) Subject: [MTD] Make init_sbc82xx_flash function static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8d240325b3f7310c5ffc7c5d15e3093462b4cada;p=openwrt%2Fstaging%2Fblogic.git [MTD] Make init_sbc82xx_flash function static The function init_sbc82xx_flash is needlessly defined global in drivers/mtd/maps/wr_sbc82xx_flash.c, and this patch makes it static. Signed-off-by: Dmitri Vorobiev Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/maps/wr_sbc82xx_flash.c b/drivers/mtd/maps/wr_sbc82xx_flash.c index 413b0cf9bbd2..933a2b6598b4 100644 --- a/drivers/mtd/maps/wr_sbc82xx_flash.c +++ b/drivers/mtd/maps/wr_sbc82xx_flash.c @@ -74,7 +74,7 @@ do { \ } \ } while (0); -int __init init_sbc82xx_flash(void) +static int __init init_sbc82xx_flash(void) { volatile memctl_cpm2_t *mc = &cpm2_immr->im_memctl; int bigflash;