aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r--arch/sparc/kernel/prom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/prom.c b/arch/sparc/kernel/prom.c
index 9ddf6035915c..eed140b3c739 100644
--- a/arch/sparc/kernel/prom.c
+++ b/arch/sparc/kernel/prom.c
@@ -158,7 +158,7 @@ struct property *of_find_property(const struct device_node *np,
158 struct property *pp; 158 struct property *pp;
159 159
160 for (pp = np->properties; pp != 0; pp = pp->next) { 160 for (pp = np->properties; pp != 0; pp = pp->next) {
161 if (strcmp(pp->name, name) == 0) { 161 if (strcasecmp(pp->name, name) == 0) {
162 if (lenp != 0) 162 if (lenp != 0)
163 *lenp = pp->length; 163 *lenp = pp->length;
164 break; 164 break;
@@ -242,7 +242,7 @@ int of_set_property(struct device_node *dp, const char *name, void *val, int len
242 while (*prevp) { 242 while (*prevp) {
243 struct property *prop = *prevp; 243 struct property *prop = *prevp;
244 244
245 if (!strcmp(prop->name, name)) { 245 if (!strcasecmp(prop->name, name)) {
246 void *old_val = prop->value; 246 void *old_val = prop->value;
247 int ret; 247 int ret;
248 248