Skip to content

Commit

Permalink
[MTD] Make init_msp_flash function static
Browse files Browse the repository at this point in the history
The function init_msp_flash, which is not used outside of
drivers/mtd/maps/pmcmsp-flash.c, can become static. This
patch adds the needed keyword.

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 2257594 commit 6127cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/maps/pmcmsp-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ static int fcnt;

#define DEBUG_MARKER printk(KERN_NOTICE "%s[%d]\n", __func__, __LINE__)

int __init init_msp_flash(void)
static int __init init_msp_flash(void)
{
int i, j;
int offset, coff;
Expand Down

0 comments on commit 6127cfc

Please sign in to comment.