summaryrefslogtreecommitdiff
path: root/drivers/of/fdt.c
diff options
context:
space:
mode:
authorFrank Rowand <frank.rowand@sony.com>2017-06-20 16:38:28 -0700
committerRob Herring <robh@kernel.org>2017-06-22 11:14:48 -0500
commit92af08990cc49408119ca2549dfe9e37235864d8 (patch)
tree5f76c72112a503485481c5b87f1839e36f5a96ad /drivers/of/fdt.c
parent3bd79768f61ee3ae93a3ed1cc0ae11fb4474323a (diff)
of: make of_fdt_is_compatible() static
The callers of of_fdt_is_compatible() are all in fdt.c so make it static. Signed-off-by: Frank Rowand <frank.rowand@sony.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of/fdt.c')
-rw-r--r--drivers/of/fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index 3080d9dd031d..5c71cb933426 100644
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -91,7 +91,7 @@ void of_fdt_limit_memory(int limit)
* On match, returns a non-zero value with smaller values returned for more
* specific compatible values.
*/
-int of_fdt_is_compatible(const void *blob,
+static int of_fdt_is_compatible(const void *blob,
unsigned long node, const char *compat)
{
const char *cp;