Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756856Ab2K3Jyj (ORCPT ); Fri, 30 Nov 2012 04:54:39 -0500 Received: from mail-wg0-f46.google.com ([74.125.82.46]:55816 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752479Ab2K3Jyh (ORCPT ); Fri, 30 Nov 2012 04:54:37 -0500 From: Grant Likely Subject: Re: [PATCH -next] of: export "allnodes" to fixx w1-gpio.c modular build To: Randy Dunlap , Rob Herring Cc: Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, Ville Syrjala In-Reply-To: <50B7F30C.1060105@infradead.org> References: <20121129174057.99da02b15426c76054d05592@canb.auug.org.au> <50B7F30C.1060105@infradead.org> Date: Fri, 30 Nov 2012 09:54:33 +0000 Message-Id: <20121130095433.9F4743E070C@localhost> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1052 Lines: 31 On Thu, 29 Nov 2012 15:43:08 -0800, Randy Dunlap wrote: > From: Randy Dunlap > > 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 > Cc: Ville Syrjala > --- > 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); Makes sense, but I don't like exporting such a generic name. I'm picking up the patch but renaming s/allnodes/of_allnodes/ in the process. g. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/