mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 01:11:51 -04:00
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>
This commit is contained in:
committed by
Ulf Hansson
parent
84a89ca15b
commit
fad41cdd09
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user