[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>
This commit is contained in:
parent
769455e224
commit
e30bb9cf5f
@ -109,7 +109,7 @@ static struct mtd_partition tqm8xxl_fs_partitions[] = {
|
||||
};
|
||||
#endif
|
||||
|
||||
int __init init_tqm_mtd(void)
|
||||
static int __init init_tqm_mtd(void)
|
||||
{
|
||||
int idx = 0, ret = 0;
|
||||
unsigned long flash_addr, flash_size, mtd_size = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user