浏览代码

[MTD] Make init_msp_flash function static

The function init_msp_flash, which is not used outside of
drivers/mtd/maps/pmcmsp-flash.c, can become static. This
patch adds the needed keyword.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Dmitri Vorobiev 16 年之前
父节点
当前提交
6127cfcd3d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/mtd/maps/pmcmsp-flash.c

+ 1 - 1
drivers/mtd/maps/pmcmsp-flash.c

@@ -48,7 +48,7 @@ static int fcnt;
 
 #define DEBUG_MARKER printk(KERN_NOTICE "%s[%d]\n", __func__, __LINE__)
 
-int __init init_msp_flash(void)
+static int __init init_msp_flash(void)
 {
 	int i, j;
 	int offset, coff;