diff mbox series

[4.4.y-cip,v2] of: Add missing exports of node name compare functions

Message ID 20200904065901.11195-1-prabhakar.mahadev-lad.rj@bp.renesas.com (mailing list archive)
State Accepted
Headers show
Series [4.4.y-cip,v2] of: Add missing exports of node name compare functions | expand

Commit Message

Lad Prabhakar Sept. 4, 2020, 6:59 a.m. UTC
From: Rob Herring <robh@kernel.org>

commit 173ee3962959a1985a109f81539a403b5cd07ae7 upstream.

Commit f42b0e18f2e5 ("of: add node name compare helper functions")
failed to add the module exports to of_node_name_eq() and
of_node_name_prefix(). Add them now.

Fixes: f42b0e18f2e5 ("of: add node name compare helper functions")
Signed-off-by: Rob Herring <robh@kernel.org>
[PL: Fixes eeaa48eee492d ("drm: rcar-du: Support panels
connected directly to the DPAD outputs")]
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
v1->v2
* Included fixes tag.
---
 drivers/of/base.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Pavel Machek Sept. 9, 2020, 6:31 a.m. UTC | #1
Hi!

> From: Rob Herring <robh@kernel.org>
> 
> commit 173ee3962959a1985a109f81539a403b5cd07ae7 upstream.
> 
> Commit f42b0e18f2e5 ("of: add node name compare helper functions")
> failed to add the module exports to of_node_name_eq() and
> of_node_name_prefix(). Add them now.

Thanks, applied and pushed out.

Best regards,
								Pavel
diff mbox series

Patch

diff --git a/drivers/of/base.c b/drivers/of/base.c
index b02f4b272e5b..4e6af7c6c792 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -67,6 +67,7 @@  bool of_node_name_eq(const struct device_node *np, const char *name)
 
 	return (strlen(name) == len) && (strncmp(node_name, name, len) == 0);
 }
+EXPORT_SYMBOL(of_node_name_eq);
 
 bool of_node_name_prefix(const struct device_node *np, const char *prefix)
 {
@@ -75,6 +76,7 @@  bool of_node_name_prefix(const struct device_node *np, const char *prefix)
 
 	return strncmp(kbasename(np->full_name), prefix, strlen(prefix)) == 0;
 }
+EXPORT_SYMBOL(of_node_name_prefix);
 
 int of_n_addr_cells(struct device_node *np)
 {