aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2006-03-28 14:08:39 +1100
committerPaul Mackerras <paulus@samba.org>2006-03-28 16:45:34 +1100
commit69ed3324983bb937d78a8579ed91b90242ee5aaa (patch)
tree9565376cb542b8128e38a949f592881e489dcd60 /arch/powerpc/platforms
parent9fe901d124871f5781b9c4ccbb7ff93fdff9d39e (diff)
downloadkernel_samsung_tuna-69ed3324983bb937d78a8579ed91b90242ee5aaa.zip
kernel_samsung_tuna-69ed3324983bb937d78a8579ed91b90242ee5aaa.tar.gz
kernel_samsung_tuna-69ed3324983bb937d78a8579ed91b90242ee5aaa.tar.bz2
[PATCH] powerpc: Fix some initcall return values
Non zero initcalls (except for -ENODEV) have started warning at boot. Fix smt_setup and init_ras_IRQ. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r--arch/powerpc/platforms/pseries/ras.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/ras.c b/arch/powerpc/platforms/pseries/ras.c
index b046bcf..9639c66 100644
--- a/arch/powerpc/platforms/pseries/ras.c
+++ b/arch/powerpc/platforms/pseries/ras.c
@@ -132,7 +132,7 @@ static int __init init_ras_IRQ(void)
of_node_put(np);
}
- return 1;
+ return 0;
}
__initcall(init_ras_IRQ);