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

[MTD] Make alchemy_mtd_init function static

The symbol alchemy_mtd_init does not need to be global, so make it
static in drivers/mtd/maps/alchemy-flash.c.

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
b93dc2e9 9bd1c9da

+1 -1
+1 -1
drivers/mtd/maps/alchemy-flash.c
··· 111 111 112 112 static struct mtd_info *mymtd; 113 113 114 - int __init alchemy_mtd_init(void) 114 + static int __init alchemy_mtd_init(void) 115 115 { 116 116 struct mtd_partition *parts; 117 117 int nb_parts = 0;