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

[MTD] Make uclinux_mtd_cleanup and uclinux_mtd_init static

The functions uclinux_mtd_cleanup and uclinux_mtd_init do
not heed to be global. Add the needed keyword to the file
drivers/mtd/maps/uclinux.c to make these functions 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
769455e2 e4582ea7

+2 -2
+2 -2
drivers/mtd/maps/uclinux.c
··· 51 51 52 52 /****************************************************************************/ 53 53 54 - int __init uclinux_mtd_init(void) 54 + static int __init uclinux_mtd_init(void) 55 55 { 56 56 struct mtd_info *mtd; 57 57 struct map_info *mapp; ··· 94 94 95 95 /****************************************************************************/ 96 96 97 - void __exit uclinux_mtd_cleanup(void) 97 + static void __exit uclinux_mtd_cleanup(void) 98 98 { 99 99 if (uclinux_ram_mtdinfo) { 100 100 del_mtd_partitions(uclinux_ram_mtdinfo);