aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng <bmeng@tinylab.org>2023-04-05 22:40:22 +0800
committerTom Rini <trini@konsulko.com>2023-04-25 15:31:27 -0400
commit142155103d93949fddfeb07eac708991d55a0a50 (patch)
tree9be274f636aa65b16de6d5aba726544c135131f3
parent005acb2a6d84912525a87b74beb9d50f000509e1 (diff)
downloadu-boot-142155103d93949fddfeb07eac708991d55a0a50.zip
u-boot-142155103d93949fddfeb07eac708991d55a0a50.tar.gz
u-boot-142155103d93949fddfeb07eac708991d55a0a50.tar.bz2
fs: yaffs2: Make yaffsfs_deviceList static
yaffsfs_deviceList is only referenced in yaffsfs.c Signed-off-by: Bin Meng <bmeng@tinylab.org>
-rw-r--r--fs/yaffs2/yaffsfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/yaffs2/yaffsfs.c b/fs/yaffs2/yaffsfs.c
index 510faae..d615f02 100644
--- a/fs/yaffs2/yaffsfs.c
+++ b/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