Commit e30bb9cf authored by Dmitri Vorobiev's avatar Dmitri Vorobiev Committed by David Woodhouse

[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: default avatarDmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 769455e2
...@@ -109,7 +109,7 @@ static struct mtd_partition tqm8xxl_fs_partitions[] = { ...@@ -109,7 +109,7 @@ static struct mtd_partition tqm8xxl_fs_partitions[] = {
}; };
#endif #endif
int __init init_tqm_mtd(void) static int __init init_tqm_mtd(void)
{ {
int idx = 0, ret = 0; int idx = 0, ret = 0;
unsigned long flash_addr, flash_size, mtd_size = 0; unsigned long flash_addr, flash_size, mtd_size = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment