]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
fs: yaffs2: Make yaffsfs_deviceList static
authorBin Meng <bmeng@tinylab.org>
Wed, 5 Apr 2023 14:40:22 +0000 (22:40 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 25 Apr 2023 19:31:27 +0000 (15:31 -0400)
yaffsfs_deviceList is only referenced in yaffsfs.c

Signed-off-by: Bin Meng <bmeng@tinylab.org>
fs/yaffs2/yaffsfs.c

index 510faaeed14966ae1c12cd392778f66bbbb129e9..d615f02d3fcd2ceaa6eb68b09b7f084258827cd5 100644 (file)
@@ -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