Re: [PATCH] of: Export of_node_ktype for modular use of of_init_node

From: Rob Herring
Date: Fri Aug 21 2020 - 18:00:23 EST


On Thu, Aug 20, 2020 at 5:31 PM Florian Fainelli <f.fainelli@xxxxxxxxx> wrote:
>
> To permit the use of of_init_node() by kernel modules, we must export
> of_node_ktype which is directly referenced by kobject_init() called from
> of_init_node() otherwise modules would be getting linking failures.

You mean of_node_init()?

There's not anything in the kernel using this that's a module. It's a
low level function that I don't really want to see more users for.

Rob