[PATCH] dm: core: Make aliases_lookup static

aliases_lookup is only referenced in of_access.c
Signed-off-by: Bin Meng bmeng@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;

On Thu, 6 Apr 2023 at 02:38, Bin Meng bmeng@tinylab.org wrote:
aliases_lookup is only referenced in of_access.c
Signed-off-by: Bin Meng bmeng@tinylab.org
drivers/core/of_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org

On Thu, 6 Apr 2023 at 02:38, Bin Meng bmeng@tinylab.org wrote:
aliases_lookup is only referenced in of_access.c
Signed-off-by: Bin Meng bmeng@tinylab.org
drivers/core/of_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot-dm, thanks!
participants (2)
-
Bin Meng
-
Simon Glass