浏览代码

[MTD] Make h720x_mtd_init function static

The function h720x_mtd_init is not used outside of the file
drivers/mtd/maps/h720x-flash.c and can therefore become static.
This patch adds the necessary keyword.

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

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

@@ -65,7 +65,7 @@ static const char *probes[] = { "cmdlinepart", NULL };
 /*
 /*
  * Initialize FLASH support
  * Initialize FLASH support
  */
  */
-int __init h720x_mtd_init(void)
+static int __init h720x_mtd_init(void)
 {
 {
 
 
 	char	*part_type = NULL;
 	char	*part_type = NULL;