From: Randy Dunlap <[email protected]> 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 <[email protected]> Cc: Ville Syrjala <[email protected]> --- 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; _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
