fs: yaffs2: Make yaffsfs_deviceList static
PATCH 1/1 fs: yaffs2: Make yaffsfs_deviceList static
yaffsfs_deviceList is only referenced in yaffsfs.c
Signed-off-by Bin Meng <[email protected]>
---
fs/yaffs2/yaffsfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/yaffs2/yaffsfs.c +1 -1
@@ -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
Signature · 1 line
2.34.1
Quoted 3 lines · Bin Meng
yaffsfs_deviceListis only referenced inyaffsfs.cSigned-off-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom