diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/prom.h | 1 | ||||
-rw-r--r-- | include/asm-sparc/prom.h | 1 | ||||
-rw-r--r-- | include/asm-sparc64/prom.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-powerpc/prom.h b/include/asm-powerpc/prom.h index b05f8f26940a..75b1144ca580 100644 --- a/include/asm-powerpc/prom.h +++ b/include/asm-powerpc/prom.h | |||
@@ -25,6 +25,7 @@ | |||
25 | #define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1 | 25 | #define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1 |
26 | 26 | ||
27 | #define of_compat_cmp(s1, s2, l) strncasecmp((s1), (s2), (l)) | 27 | #define of_compat_cmp(s1, s2, l) strncasecmp((s1), (s2), (l)) |
28 | #define of_prop_cmp(s1, s2) strcmp((s1), (s2)) | ||
28 | 29 | ||
29 | /* Definitions used by the flattened device tree */ | 30 | /* Definitions used by the flattened device tree */ |
30 | #define OF_DT_HEADER 0xd00dfeed /* marker */ | 31 | #define OF_DT_HEADER 0xd00dfeed /* marker */ |
diff --git a/include/asm-sparc/prom.h b/include/asm-sparc/prom.h index c755c69404f7..57f86c84293b 100644 --- a/include/asm-sparc/prom.h +++ b/include/asm-sparc/prom.h | |||
@@ -24,6 +24,7 @@ | |||
24 | #define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1 | 24 | #define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1 |
25 | 25 | ||
26 | #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l)) | 26 | #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l)) |
27 | #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2)) | ||
27 | 28 | ||
28 | typedef u32 phandle; | 29 | typedef u32 phandle; |
29 | typedef u32 ihandle; | 30 | typedef u32 ihandle; |
diff --git a/include/asm-sparc64/prom.h b/include/asm-sparc64/prom.h index 040d198ee842..6a5e2405cbf4 100644 --- a/include/asm-sparc64/prom.h +++ b/include/asm-sparc64/prom.h | |||
@@ -24,6 +24,7 @@ | |||
24 | #define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1 | 24 | #define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1 |
25 | 25 | ||
26 | #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l)) | 26 | #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l)) |
27 | #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2)) | ||
27 | 28 | ||
28 | typedef u32 phandle; | 29 | typedef u32 phandle; |
29 | typedef u32 ihandle; | 30 | typedef u32 ihandle; |