@@ -30,6 +30,7 @@
#define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l))
#define of_prop_cmp(s1, s2) strcasecmp((s1), (s2))
#define of_node_cmp(s1, s2) strcmp((s1), (s2))
+#define of_node_ncmp(s1, s2, n) strnicmp((s1), (s2), (n))
struct of_irq_controller {
unsigned int (*irq_build)(struct device_node *, unsigned int, void *);
@@ -197,6 +197,7 @@ static inline unsigned long of_read_ulong(const __be32 *cell, int size)
#define of_compat_cmp(s1, s2, l) strcasecmp((s1), (s2))
#define of_prop_cmp(s1, s2) strcmp((s1), (s2))
#define of_node_cmp(s1, s2) strcasecmp((s1), (s2))
+#define of_node_ncmp(s1, s2, n) strnicmp((s1), (s2), (n))
#endif
/* flag descriptions */