瀏覽代碼

[MTD] Make alchemy_mtd_init function static

The symbol alchemy_mtd_init does not need to be global, so make it
static in drivers/mtd/maps/alchemy-flash.c.

Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.fi>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Dmitri Vorobiev 16 年之前
父節點
當前提交
b93dc2e9fc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/mtd/maps/alchemy-flash.c

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

@@ -111,7 +111,7 @@ static struct mtd_partition alchemy_partitions[] = {
 
 
 static struct mtd_info *mymtd;
 static struct mtd_info *mymtd;
 
 
-int __init alchemy_mtd_init(void)
+static int __init alchemy_mtd_init(void)
 {
 {
 	struct mtd_partition *parts;
 	struct mtd_partition *parts;
 	int nb_parts = 0;
 	int nb_parts = 0;