sparc: Fix incorrect comparison in of_bus_ambapp_match()
PATCH 1/1 sparc: Fix incorrect comparison in of_bus_ambapp_match()
Use type instead of name in comparison.
Signed-off-by Kristoffer Glembo <[email protected]>
--- arch/sparc/kernel/of_device_32.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sparc/kernel/of_device_32.c +1 -1
@@ -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->name,"ambapp" ); +return !strcmp (np->type,"ambapp" ); } static void of_bus_ambapp_count_cells(struct device_node *child,
Signature · 1 line
1.6.4.1
Re: [PATCH] sparc: Fix incorrect comparison in
From: Kristoffer Glembo <[email protected]>
Date: Mon, 15 Feb 2010 16:10:28 +0100
Quoted 3 lines
Use type instead of name in comparison.
Signed-off-by Kristoffer Glembo <[email protected]>
Applied, thank you.