Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3B609C7619A for ; Wed, 5 Apr 2023 14:44:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3CF6885FB0; Wed, 5 Apr 2023 16:44:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=tinylab.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 88D0185F86; Wed, 5 Apr 2023 16:40:35 +0200 (CEST) Received: from bg4.exmail.qq.com (bg4.exmail.qq.com [43.154.221.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F2AA880375 for ; Wed, 5 Apr 2023 16:40:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=tinylab.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng@tinylab.org X-QQ-mid: bizesmtp87t1680705623tcjjmm0x Received: from ubuntu.. ( [111.196.129.125]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 05 Apr 2023 22:40:22 +0800 (CST) X-QQ-SSF: 01200000002000D0F000B00A0000000 X-QQ-FEAT: q+EIYT+FhZq7Ax/h/qkjUIdQ1PNbS/Qw59k/7GUBo7zmGq7XrL2WuTKv+x7iN QZPNeq6L+VrbNQxgi5IpBCQPMFPbECX8lX9FkKRj/60WmZnHeQ4YeuaIq4fOY6I83OPWI45 ewtNRfwrQZmgA9/oy0L+JAiUu81lOlso5cfj6uzXNUfDbJfTV6ZJMh/s9mDnZokZfGDpCRK ijhjTP+lhj2UnJiiXPdwdbvFWnfrD8J8ONWeANaB8/K4Qnz185trYn74PkexMa6olgQK4DR IJf3uChasb1Rnc44X222cLgElV2m0oAyRhROM+LpI933vzxZ9CL6Ok65JJN2IoDPrAYQwix jPB9B5Gq0asWQaD7euCNKmvUVSwJ19l4QNdJQ0t X-QQ-GoodBg: 0 X-BIZMAIL-ID: 18446105492624091430 From: Bin Meng To: Tom Rini , u-boot@lists.denx.de Subject: [PATCH] fs: yaffs2: Make yaffsfs_deviceList static Date: Wed, 5 Apr 2023 22:40:22 +0800 Message-Id: <20230405144022.785139-1-bmeng@tinylab.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:tinylab.org:qybglogicsvr:qybglogicsvr3 X-Mailman-Approved-At: Wed, 05 Apr 2023 16:43:25 +0200 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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.34.1