Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1468029

[PATCH v4 1/5] of: Add EXPORT_SYMBOL for of_chosen

From Noralf Trønnes <noralf@tronnes.org>
Newsgroups linux.kernel
Subject [PATCH v4 1/5] of: Add EXPORT_SYMBOL for of_chosen
Date 2016-08-22 22:30 +0200
Message-ID <s9414-2Ex-35@gated-at.bofh.it> (permalink)
References <s9413-2Ex-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Export of_chosen so drivers built as modules can get access to it.
The simpledrm driver will use this and is compatible with
simple-framebuffer which is a subnode of /chosen.

Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
---
 drivers/of/base.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/of/base.c b/drivers/of/base.c
index 7792266..489be01 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -38,6 +38,7 @@ LIST_HEAD(aliases_lookup);
 struct device_node *of_root;
 EXPORT_SYMBOL(of_root);
 struct device_node *of_chosen;
+EXPORT_SYMBOL(of_chosen);
 struct device_node *of_aliases;
 struct device_node *of_stdout;
 static const char *of_stdout_options;
-- 
2.8.2

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/5] drm: add SimpleDRM driver Noralf Trønnes <noralf@tronnes.org> - 2016-08-22 22:30 +0200
  [PATCH v4 4/5] drm: simpledrm: add fbdev fallback support Noralf Trønnes <noralf@tronnes.org> - 2016-08-22 22:30 +0200
    Re: [PATCH v4 4/5] drm: simpledrm: add fbdev fallback support Daniel Vetter <daniel@ffwll.ch> - 2016-08-23 08:20 +0200
  [PATCH v4 1/5] of: Add EXPORT_SYMBOL for of_chosen Noralf Trønnes <noralf@tronnes.org> - 2016-08-22 22:30 +0200

csiph-web