From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank Rowand Subject: Re: [PATCH] of: Export __of_find_all_nodes() Date: Wed, 18 Jan 2017 13:33:15 -0800 Message-ID: <587FDF1B.1060206@gmail.com> References: <20170118093849.32204-1-alexander.sverdlin@nokia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20170118093849.32204-1-alexander.sverdlin-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Alexander Sverdlin Cc: Rob Herring , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On 01/18/17 01:38, Alexander Sverdlin wrote: > This is necessary for for_each_of_allnodes() to work in the modules. > > Signed-off-by: Alexander Sverdlin > Cc: Rob Herring > Cc: Frank Rowand > Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > --- > drivers/of/base.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/of/base.c b/drivers/of/base.c > index 2eb4dea62b84..f576c33e0b84 100644 > --- a/drivers/of/base.c > +++ b/drivers/of/base.c > @@ -270,6 +270,7 @@ struct device_node *__of_find_all_nodes(struct device_node *prev) > } > return np; > } > +EXPORT_SYMBOL_GPL(__of_find_all_nodes); > > /** > * of_find_all_nodes - Get next node in global list > Quoting Rob from the last request for this: "What driver needs this? This isn't really a function I'd expect drivers to use." -Frank -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html