Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[MTD] Make the init_edb7312nor function static

The init_edb7312nor function is needlessly defined global in
drivers/mtd/maps/edb7312.c, and this patch makes it static.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

authored by

Dmitri Vorobiev and committed by
David Woodhouse
d8156adb 8d240325

+1 -1
+1 -1
drivers/mtd/maps/edb7312.c
··· 71 71 static int mtd_parts_nb = 0; 72 72 static struct mtd_partition *mtd_parts = 0; 73 73 74 - int __init init_edb7312nor(void) 74 + static int __init init_edb7312nor(void) 75 75 { 76 76 static const char *rom_probe_types[] = PROBETYPES; 77 77 const char **type;