[PATCH v6 06/12] of: Export of_node_to_nid()

From
Thierry Reding <thierry.reding@kernel.org>
Date
2026-09-04 10:45:36
Also in
dri-devel, linux-iommu, linux-media, linux-mm, linux-s390, linux-tegra, linux-trace-kernel, lkml
Reply to
Thierry Reding, 2026-09-04
From: Thierry Reding <redacted>

Drivers buildable as a module may want to use this, so export it.

Signed-off-by: Thierry Reding <redacted>
---
 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
Thread (38 messages) 38 messages, 7 authors, last reply 2026-09-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help