[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1471897525-31118-2-git-send-email-noralf@tronnes.org>
Date: Mon, 22 Aug 2016 22:25:21 +0200
From: Noralf Trønnes <noralf@...nnes.org>
To: dri-devel@...ts.freedesktop.org
Cc: robh@...nel.org, devicetree@...r.kernel.org, dh.herrmann@...il.com,
linux-kernel@...r.kernel.org,
Noralf Trønnes <noralf@...nnes.org>
Subject: [PATCH v4 1/5] of: Add EXPORT_SYMBOL for of_chosen
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@...nnes.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
Powered by blists - more mailing lists