diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.fi> | 2008-11-25 02:55:11 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-12-10 13:00:47 +0000 |
commit | 8d240325b3f7310c5ffc7c5d15e3093462b4cada (patch) | |
tree | 6bf753f1284870f49e050476674412478493a7f1 /drivers/mtd | |
parent | bc185405c84327098b33c11353ca579169f0728f (diff) | |
download | talos-obmc-linux-8d240325b3f7310c5ffc7c5d15e3093462b4cada.tar.gz talos-obmc-linux-8d240325b3f7310c5ffc7c5d15e3093462b4cada.zip |
[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')
-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 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; |