[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50B7F30C.1060105@infradead.org>
Date: Thu, 29 Nov 2012 15:43:08 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: Grant Likely <grant.likely@...retlab.ca>,
Rob Herring <rob.herring@...xeda.com>
CC: Stephen Rothwell <sfr@...b.auug.org.au>,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree-discuss@...ts.ozlabs.org, Ville Syrjala <syrjala@....fi>
Subject: [PATCH -next] of: export "allnodes" to fixx w1-gpio.c modular build
From: Randy Dunlap <rdunlap@...radead.org>
Fix build when CONFIG_W1_MASTER_GPIO=m by exporting "allnodes".
ERROR: "allnodes" [drivers/w1/masters/w1-gpio.ko] undefined!
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
Cc: Ville Syrjala <syrjala@....fi>
---
drivers/of/base.c | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20121129.orig/drivers/of/base.c
+++ linux-next-20121129/drivers/of/base.c
@@ -46,6 +46,7 @@ struct alias_prop {
static LIST_HEAD(aliases_lookup);
struct device_node *allnodes;
+EXPORT_SYMBOL(allnodes);
struct device_node *of_chosen;
struct device_node *of_aliases;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists