mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[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>
This commit is contained in:
parent
bc185405c8
commit
8d240325b3
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ do { \
|
||||||
} \
|
} \
|
||||||
} while (0);
|
} while (0);
|
||||||
|
|
||||||
int __init init_sbc82xx_flash(void)
|
static int __init init_sbc82xx_flash(void)
|
||||||
{
|
{
|
||||||
volatile memctl_cpm2_t *mc = &cpm2_immr->im_memctl;
|
volatile memctl_cpm2_t *mc = &cpm2_immr->im_memctl;
|
||||||
int bigflash;
|
int bigflash;
|
||||||
|
|
Loading…
Reference in a new issue