[PATCH v6 06/12] of: Export of_node_to_nid()
From: Thierry Reding
Date: Fri Sep 04 2026 - 06:54:52 EST
From: Thierry Reding <treding@xxxxxxxxxx>
Drivers buildable as a module may want to use this, so export it.
Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
---
drivers/of/of_numa.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/of/of_numa.c b/drivers/of/of_numa.c
index 230d5f628c1b..da2e9bd1717c 100644
--- a/drivers/of/of_numa.c
+++ b/drivers/of/of_numa.c
@@ -171,6 +171,7 @@ int of_node_to_nid(struct device_node *device)
return NUMA_NO_NODE;
}
+EXPORT_SYMBOL(of_node_to_nid);
int __init of_numa_init(void)
{
--
2.55.0