summaryrefslogtreecommitdiff
path: root/include/asm-sparc64/prom.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc64/prom.h')
-rw-r--r--include/asm-sparc64/prom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sparc64/prom.h b/include/asm-sparc64/prom.h
index c98d1545ee8d..040d198ee842 100644
--- a/include/asm-sparc64/prom.h
+++ b/include/asm-sparc64/prom.h
@@ -23,6 +23,8 @@
#define OF_ROOT_NODE_ADDR_CELLS_DEFAULT 2
#define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1
+#define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l))
+
typedef u32 phandle;
typedef u32 ihandle;