[PATCH v4 1/3] of: export of_stdout symbol
Rob Herring (Arm)
robh at kernel.org
Wed Jul 22 06:20:59 PDT 2026
On Wed, 22 Jul 2026 17:25:20 +0900, Zhipeng.wang_1 at oss.nxp.com wrote:
> From: Zhipeng Wang <zhipeng.wang_1 at nxp.com>
>
> of_stdout is declared extern in include/linux/of.h alongside of_root
> and of_chosen, but unlike those two it is not exported, preventing
> modules from referencing it.
>
> Export it with EXPORT_SYMBOL_GPL() so drivers that need the stdout
> device node can be built as modules.
>
> Signed-off-by: Zhipeng Wang <zhipeng.wang_1 at nxp.com>
> ---
> drivers/of/base.c | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring (Arm) <robh at kernel.org>
More information about the linux-arm-kernel
mailing list