diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2012-06-20 02:58:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-27 04:27:45 -0400 |
commit | e393d1bd354b5abd7db343b8b47e581f41cd8161 (patch) | |
tree | 73cdd08cc47d2e28690ebd0149f06d3af46d7c07 | |
parent | 84a55f6d62d4a631184bd5a6f14f3379050c3a9a (diff) |
sparc: Correct comments about prom_init() return values
prom_init() returns void.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | arch/sparc/prom/init_32.c | 4 | ||||
-rw-r--r-- | arch/sparc/prom/init_64.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc/prom/init_32.c b/arch/sparc/prom/init_32.c index 26c64cea3c9c..a8d9342ce659 100644 --- a/arch/sparc/prom/init_32.c +++ b/arch/sparc/prom/init_32.c | |||
@@ -27,8 +27,8 @@ EXPORT_SYMBOL(prom_root_node); | |||
27 | struct linux_nodeops *prom_nodeops; | 27 | struct linux_nodeops *prom_nodeops; |
28 | 28 | ||
29 | /* You must call prom_init() before you attempt to use any of the | 29 | /* You must call prom_init() before you attempt to use any of the |
30 | * routines in the prom library. It returns 0 on success, 1 on | 30 | * routines in the prom library. |
31 | * failure. It gets passed the pointer to the PROM vector. | 31 | * It gets passed the pointer to the PROM vector. |
32 | */ | 32 | */ |
33 | 33 | ||
34 | extern void prom_meminit(void); | 34 | extern void prom_meminit(void); |
diff --git a/arch/sparc/prom/init_64.c b/arch/sparc/prom/init_64.c index 5016c5e20575..d95db755828f 100644 --- a/arch/sparc/prom/init_64.c +++ b/arch/sparc/prom/init_64.c | |||
@@ -22,8 +22,8 @@ int prom_stdout; | |||
22 | phandle prom_chosen_node; | 22 | phandle prom_chosen_node; |
23 | 23 | ||
24 | /* You must call prom_init() before you attempt to use any of the | 24 | /* You must call prom_init() before you attempt to use any of the |
25 | * routines in the prom library. It returns 0 on success, 1 on | 25 | * routines in the prom library. |
26 | * failure. It gets passed the pointer to the PROM vector. | 26 | * It gets passed the pointer to the PROM vector. |
27 | */ | 27 | */ |
28 | 28 | ||
29 | extern void prom_cif_init(void *, void *); | 29 | extern void prom_cif_init(void *, void *); |