Browse Source

fs: yaffs2: Make yaffsfs_deviceList static

yaffsfs_deviceList is only referenced in yaffsfs.c

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Bin Meng 1 year ago
parent
commit
142155103d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/yaffs2/yaffsfs.c

+ 1 - 1
fs/yaffs2/yaffsfs.c

@@ -468,7 +468,7 @@ static int yaffsfs_alt_dir_path(const YCHAR *path, YCHAR **ret_path)
 	return 0;
 }
 
-LIST_HEAD(yaffsfs_deviceList);
+static LIST_HEAD(yaffsfs_deviceList);
 
 /*
  * yaffsfs_FindDevice