[PATCH] dm: core: Make aliases_lookup static

Bin Meng bmeng at tinylab.org
Wed Apr 5 16:37:55 CEST 2023


aliases_lookup is only referenced in of_access.c

Signed-off-by: Bin Meng <bmeng at tinylab.org>
---

 drivers/core/of_access.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/core/of_access.c b/drivers/core/of_access.c
index 85f7da5a49..81a307992c 100644
--- a/drivers/core/of_access.c
+++ b/drivers/core/of_access.c
@@ -33,7 +33,7 @@
 DECLARE_GLOBAL_DATA_PTR;
 
 /* list of struct alias_prop aliases */
-LIST_HEAD(aliases_lookup);
+static LIST_HEAD(aliases_lookup);
 
 /* "/aliaes" node */
 static struct device_node *of_aliases;
-- 
2.34.1



More information about the U-Boot mailing list