瀏覽代碼

[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>
Dmitri Vorobiev 16 年之前
父節點
當前提交
e30bb9cf5f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/mtd/maps/tqm8xxl.c

+ 1 - 1
drivers/mtd/maps/tqm8xxl.c

@@ -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;