git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] powerpc: Avoid __initcall warnings
[pandora-kernel.git]
/
arch
/
powerpc
/
platforms
/
pseries
/
rtasd.c
diff --git
a/arch/powerpc/platforms/pseries/rtasd.c
b/arch/powerpc/platforms/pseries/rtasd.c
index
fcc4d56
..
e0000ce
100644
(file)
--- a/
arch/powerpc/platforms/pseries/rtasd.c
+++ b/
arch/powerpc/platforms/pseries/rtasd.c
@@
-488,7
+488,7
@@
static int __init rtas_init(void)
/* No RTAS */
if (rtas_token("event-scan") == RTAS_UNKNOWN_SERVICE) {
printk(KERN_INFO "rtasd: no event-scan on system\n");
- return
1
;
+ return
-ENODEV
;
}
entry = create_proc_entry("ppc64/rtas/error_log", S_IRUSR, NULL);