mirror of https://gitee.com/openkylin/linux.git
[MTD] Make init_impa7 static
The function init_impa7 does not need to be global, and this patch makes it static by adding the needed keyword to drivers/mtd/maps/impa7.c. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
9a2b3974ef
commit
4f8f3af20a
|
@ -70,7 +70,7 @@ static struct mtd_partition *mtd_parts[NUM_FLASHBANKS];
|
|||
|
||||
static const char *probes[] = { "cmdlinepart", NULL };
|
||||
|
||||
int __init init_impa7(void)
|
||||
static int __init init_impa7(void)
|
||||
{
|
||||
static const char *rom_probe_types[] = PROBETYPES;
|
||||
const char **type;
|
||||
|
|
Loading…
Reference in New Issue