提交 be9ba9ff 编写于 作者: S Shailendra Singh 提交者: Michael Ellerman

powerpc: Drop GPL from of_node_to_nid() export to match other arches

The generic implementation of of_node_to_nid() is EXPORT_SYMBOL, added
in commit 298535c0 ("of, numa: Add NUMA of binding
implementation.").

The powerpc implementation added in commit 953039c8 ("[PATCH]
powerpc: Allow devices to register with numa topology") is
EXPORT_SYMBOL_GPL.

This creates an inconsistency for of_node_to_nid() callers across
architectures.

Update the powerpc implementation to be exported consistently with the
generic implementation.
Signed-off-by: NShailendra Singh <shailendras@nvidia.com>
Reviewed-by: NAndy Ritger <aritger@nvidia.com>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 762df10b
......@@ -290,7 +290,7 @@ int of_node_to_nid(struct device_node *device)
return nid;
}
EXPORT_SYMBOL_GPL(of_node_to_nid);
EXPORT_SYMBOL(of_node_to_nid);
static int __init find_min_common_depth(void)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册