diff options
| author | Zhipeng Wang <zhipeng.wang_1@nxp.com> | 2026-07-23 11:05:22 +0900 |
|---|---|---|
| committer | Ulf Hansson <ulfh@kernel.org> | 2026-07-27 11:53:04 +0200 |
| commit | fad41cdd09a2fdd09220d1dfd190e1cbcacc7634 (patch) | |
| tree | 489812db8fed36800a83b347e5e305376ba76859 | |
| parent | 84a89ca15bb1f15a0779f30e1ef99075b35be69e (diff) | |
| download | linux-next-fad41cdd09a2fdd09220d1dfd190e1cbcacc7634.tar.gz linux-next-fad41cdd09a2fdd09220d1dfd190e1cbcacc7634.zip | |
of: export of_stdout symbol
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@nxp.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
| -rw-r--r-- | drivers/of/base.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c index 6e7a42dedad3..a25c95800719 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -39,6 +39,7 @@ struct device_node *of_chosen; EXPORT_SYMBOL(of_chosen); struct device_node *of_aliases; struct device_node *of_stdout; +EXPORT_SYMBOL_GPL(of_stdout); static const char *of_stdout_options; struct kset *of_kset; |
