projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
172d2d0
)
sparc: Fix incorrect comparison in of_bus_ambapp_match()
author
Kristoffer Glembo
<kristoffer@gaisler.com>
Mon, 15 Feb 2010 15:10:28 +0000
(16:10 +0100)
committer
David S. Miller
<davem@davemloft.net>
Thu, 18 Feb 2010 00:42:20 +0000
(16:42 -0800)
Use type instead of name in comparison.
Signed-off-by: Kristoffer Glembo <kristoffer@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/of_device_32.c
patch
|
blob
|
history
diff --git
a/arch/sparc/kernel/of_device_32.c
b/arch/sparc/kernel/of_device_32.c
index
4c26eb5
..
53a58b3
100644
(file)
--- a/
arch/sparc/kernel/of_device_32.c
+++ b/
arch/sparc/kernel/of_device_32.c
@@
-105,7
+105,7
@@
static unsigned long of_bus_sbus_get_flags(const u32 *addr, unsigned long flags)
static int of_bus_ambapp_match(struct device_node *np)
{
- return !strcmp(np->
nam
e, "ambapp");
+ return !strcmp(np->
typ
e, "ambapp");
}
static void of_bus_ambapp_count_cells(struct device_node *child,