Skip to content

Commit

Permalink
[MTD] Make init_sbc82xx_flash function static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dmitri Vorobiev authored and David Woodhouse committed Dec 10, 2008
1 parent bc18540 commit 8d24032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/maps/wr_sbc82xx_flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8d24032

Please sign in to comment.