From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laxman Dewangan Subject: [PATCH] of: base: Export symbol of __of_find_all_nodes() Date: Fri, 28 Oct 2016 16:58:12 +0530 Message-ID: <1477654092-12406-1-git-send-email-ldewangan@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Laxman Dewangan List-Id: devicetree@vger.kernel.org The function __of_find_all_nodes() is used in the public header linux/of.h and if any driver developed using this API then it reports error as unknown symbol if compiled as module. Export this APIs using EXPORT_SYMBOL() so that it can be used from driver compiled as module. Signed-off-by: Laxman Dewangan --- drivers/of/base.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/base.c b/drivers/of/base.c index d687e6d..89c2083 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -269,6 +269,7 @@ struct device_node *__of_find_all_nodes(struct device_node *prev) } return np; } +EXPORT_SYMBOL(__of_find_all_nodes); /** * of_find_all_nodes - Get next node in global list -- 2.1.4 ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- -- 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