Skip to content

Commit

Permalink
[MTD] Make init_sbc8240_mtd function static
Browse files Browse the repository at this point in the history
The function init_sbc8240_mtd is not called from outside the
module drivers/mtd/maps/sbc8240.c where it is defined, so it
can become static. Add 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 26eb108 commit 9ee49fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/maps/sbc8240.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ static struct mtd_part_def sbc8240_part_banks[NUM_FLASH_BANKS];
#endif /* CONFIG_MTD_PARTITIONS */


int __init init_sbc8240_mtd (void)
static int __init init_sbc8240_mtd (void)
{
static struct _cjs {
u_long addr;
Expand Down

0 comments on commit 9ee49fa

Please sign in to comment.