You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[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:
committed by
David Woodhouse
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;
|
||||
|
||||
Reference in New Issue
Block a user