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

[MTD] Make init_tqm_mtd function static

The init_tqm_mtd function does not need to be defined globally
in drivers/mtd/maps/tqm8xxl.c. Make 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
e30bb9cf 769455e2

+1 -1
+1 -1
drivers/mtd/maps/tqm8xxl.c
··· 109 109 }; 110 110 #endif 111 111 112 - int __init init_tqm_mtd(void) 112 + static int __init init_tqm_mtd(void) 113 113 { 114 114 int idx = 0, ret = 0; 115 115 unsigned long flash_addr, flash_size, mtd_size = 0;