diff options
author | Rob Herring <robh@kernel.org> | 2018-10-22 09:03:54 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-13 11:08:32 -0800 |
commit | 1db5dec2dd69e6fcaf59ab6b151877c1119e3de7 (patch) | |
tree | eeb1844d7483f46628323d8dba748710c682a138 /drivers/of | |
parent | b5e07d44b06be67947150e80e510ef64b720af3b (diff) | |
download | linux-stable-1db5dec2dd69e6fcaf59ab6b151877c1119e3de7.tar.gz linux-stable-1db5dec2dd69e6fcaf59ab6b151877c1119e3de7.tar.bz2 linux-stable-1db5dec2dd69e6fcaf59ab6b151877c1119e3de7.zip |
of: Add missing exports of node name compare functions
[ Upstream commit 173ee3962959a1985a109f81539a403b5cd07ae7 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/base.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/of/base.c b/drivers/of/base.c index 74eaedd5b860..70f5fd08891b 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) { |