diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2008-02-01 19:09:54 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-02-06 00:38:10 -0500 |
commit | aafa1955501955bf4e53b72fee0be9f35b711b9d (patch) | |
tree | bc078a306d07cd91d6a7cbdaac28522a012d5102 /arch/powerpc/platforms/83xx | |
parent | 1347a2c1eb61fce8b5085801761c7b63f9e7ba8b (diff) |
[POWERPC] 83xx: mpc832x_rdb: fix compiler warning
arch/powerpc/platforms/83xx/mpc832x_rdb.c: In function ‘mpc832x_rdb_setup_arch’:
arch/powerpc/platforms/83xx/mpc832x_rdb.c:104: warning: ‘np’ is used uninitialized in this function
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/83xx')
-rw-r--r-- | arch/powerpc/platforms/83xx/mpc832x_rdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/83xx/mpc832x_rdb.c b/arch/powerpc/platforms/83xx/mpc832x_rdb.c index 9f0fd88b2b1f..e7f706b624fe 100644 --- a/arch/powerpc/platforms/83xx/mpc832x_rdb.c +++ b/arch/powerpc/platforms/83xx/mpc832x_rdb.c | |||
@@ -101,7 +101,7 @@ static void __init mpc832x_rdb_setup_arch(void) | |||
101 | #ifdef CONFIG_QUICC_ENGINE | 101 | #ifdef CONFIG_QUICC_ENGINE |
102 | qe_reset(); | 102 | qe_reset(); |
103 | 103 | ||
104 | if ((np = of_find_node_by_name(np, "par_io")) != NULL) { | 104 | if ((np = of_find_node_by_name(NULL, "par_io")) != NULL) { |
105 | par_io_init(np); | 105 | par_io_init(np); |
106 | of_node_put(np); | 106 | of_node_put(np); |
107 | 107 | ||