Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92af0899 authored by Frank Rowand's avatar Frank Rowand Committed by Rob Herring
Browse files

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: default avatarFrank Rowand <frank.rowand@sony.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 3bd79768
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+0 −3
Original line number Diff line number Diff line
@@ -31,9 +31,6 @@ extern void *of_fdt_get_property(const void *blob,
				 unsigned long node,
				 const char *name,
				 int *size);
extern int of_fdt_is_compatible(const void *blob,
				unsigned long node,
				const char *compat);
extern bool of_fdt_is_big_endian(const void *blob,
				 unsigned long node);
extern int of_fdt_match(const void *blob, unsigned long node,