On Fri, Sep 04, 2026 at 12:44:57PM +0200, Thierry Reding wrote:
> From: Thierry Reding <[email protected]>
> 
> Drivers buildable as a module may want to use this, so export it.

We need a specific reason/driver. Otherwise, that's every API function. 

It doesn't look to me like the VPR driver ever actually uses the NID.

> 
> Signed-off-by: Thierry Reding <[email protected]>
> ---
>  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);

Assuming this is still needed, EXPORT_SYMBOL_GPL.

Rob

Reply via email to