]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: core: Make aliases_lookup static
authorBin Meng <bmeng@tinylab.org>
Wed, 5 Apr 2023 14:37:55 +0000 (22:37 +0800)
committerSimon Glass <sjg@chromium.org>
Fri, 28 Apr 2023 17:30:17 +0000 (11:30 -0600)
aliases_lookup is only referenced in of_access.c

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/of_access.c

index 85f7da5a499c3d42551915a61956d8a4c7844ee4..81a307992c01d4dba7e55204def066d5080c8fa1 100644 (file)
@@ -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;