diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.fi> | 2008-11-25 00:55:11 (GMT) |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-12-10 13:00:47 (GMT) |
commit | 8d240325b3f7310c5ffc7c5d15e3093462b4cada (patch) | |
tree | 6bf753f1284870f49e050476674412478493a7f1 /drivers/mtd/maps | |
parent | bc185405c84327098b33c11353ca579169f0728f (diff) | |
download | linux-fsl-qoriq-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')
-rw-r--r-- | drivers/mtd/maps/wr_sbc82xx_flash.c | 2 |
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 413b0cf..933a2b6 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; |