From: Bin Meng Date: Wed, 5 Apr 2023 14:40:22 +0000 (+0800) Subject: fs: yaffs2: Make yaffsfs_deviceList static X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=142155103d93949fddfeb07eac708991d55a0a50;p=u-boot.git fs: yaffs2: Make yaffsfs_deviceList static yaffsfs_deviceList is only referenced in yaffsfs.c Signed-off-by: Bin Meng --- 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