forked from Minki/linux
[MTD] Make init_sharpsl symbol static
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>
This commit is contained in:
parent
4d9c6a21be
commit
26eb108570
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user