]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
of: Add missing exports of node name compare functions
authorRob Herring <robh@kernel.org>
Mon, 22 Oct 2018 14:03:54 +0000 (09:03 -0500)
committerRob Herring <robh@kernel.org>
Mon, 22 Oct 2018 14:03:54 +0000 (09:03 -0500)
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>
drivers/of/base.c

index 32444299db45caa4fe9d25552c363c0f8662d9c0..cc62da27866383c8d34cc1c8a8364ed8ebbf9526 100644 (file)
@@ -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)
 {