Skip to content

Commit

Permalink
[MTD] Make init_sharpsl symbol static
Browse files Browse the repository at this point in the history
The function init_sharpsl is needlessly defined global.
Make it static by adding the needed keyword to the file
drivers/mtd/maps/sharpsl-flash.c, where the function is
defined.

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 4d9c6a2 commit 26eb108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/maps/sharpsl-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static struct mtd_partition sharpsl_partitions[1] = {
}
};

int __init init_sharpsl(void)
static int __init init_sharpsl(void)
{
struct mtd_partition *parts;
int nb_parts = 0;
Expand Down

0 comments on commit 26eb108

Please sign in to comment.