From 142155103d93949fddfeb07eac708991d55a0a50 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Wed, 5 Apr 2023 22:40:22 +0800 Subject: [PATCH] fs: yaffs2: Make yaffsfs_deviceList static yaffsfs_deviceList is only referenced in yaffsfs.c Signed-off-by: Bin Meng --- fs/yaffs2/yaffsfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/yaffs2/yaffsfs.c b/fs/yaffs2/yaffsfs.c index 510faaeed1..d615f02d3f 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 -- 2.39.5