summaryrefslogtreecommitdiff
path: root/drivers/mtd/maps/wr_sbc82xx_flash.c
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@movial.fi>2008-11-25 03:55:11 +0300
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-12-10 16:00:47 +0300
commit8d240325b3f7310c5ffc7c5d15e3093462b4cada (patch)
tree6bf753f1284870f49e050476674412478493a7f1 /drivers/mtd/maps/wr_sbc82xx_flash.c
parentbc185405c84327098b33c11353ca579169f0728f (diff)
downloadlinux-8d240325b3f7310c5ffc7c5d15e3093462b4cada.tar.xz
[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 <dmitri.vorobiev@movial.fi> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/maps/wr_sbc82xx_flash.c')
-rw-r--r--drivers/mtd/maps/wr_sbc82xx_flash.c2
1 files changed, 1 insertions, 1 deletions
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;