dm: core: Make aliases_lookup static
PATCH 1/1 dm: core: Make aliases_lookup static
aliases_lookup is only referenced in of_access.c
Signed-off-by Bin Meng <[email protected]>
---
drivers/core/of_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/core/of_access.c +1 -1
@@ -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;
Signature · 1 line
2.34.1
Quoted 8 lines · Bin Meng
aliases_lookupis only referenced inof_access.cSigned-off-by Bin Meng <[email protected]>---
drivers/core/of_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Simon Glass <[email protected]>
Simon Glass
Reviewed-byQuoted 8 lines · Bin Meng
aliases_lookupis only referenced inof_access.cSigned-off-by Bin Meng <[email protected]>---
drivers/core/of_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Simon Glass <[email protected]>
Applied to u-boot-dm, thanks!