summaryrefslogtreecommitdiffstats
path: root/arch/sparc/prom
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2012-06-20 06:58:06 +0000
committerDavid S. Miller <davem@davemloft.net>2012-06-27 01:27:45 -0700
commite393d1bd354b5abd7db343b8b47e581f41cd8161 (patch)
tree73cdd08cc47d2e28690ebd0149f06d3af46d7c07 /arch/sparc/prom
parent84a55f6d62d4a631184bd5a6f14f3379050c3a9a (diff)
downloadop-kernel-dev-e393d1bd354b5abd7db343b8b47e581f41cd8161.zip
op-kernel-dev-e393d1bd354b5abd7db343b8b47e581f41cd8161.tar.gz
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>
Diffstat (limited to 'arch/sparc/prom')
-rw-r--r--arch/sparc/prom/init_32.c4
-rw-r--r--arch/sparc/prom/init_64.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc/prom/init_32.c b/arch/sparc/prom/init_32.c
index 26c64ce..a8d9342 100644
--- a/arch/sparc/prom/init_32.c
+++ b/arch/sparc/prom/init_32.c
@@ -27,8 +27,8 @@ EXPORT_SYMBOL(prom_root_node);
struct linux_nodeops *prom_nodeops;
/* You must call prom_init() before you attempt to use any of the
- * routines in the prom library. It returns 0 on success, 1 on
- * failure. It gets passed the pointer to the PROM vector.
+ * routines in the prom library.
+ * It gets passed the pointer to the PROM vector.
*/
extern void prom_meminit(void);
diff --git a/arch/sparc/prom/init_64.c b/arch/sparc/prom/init_64.c
index 5016c5e..d95db75 100644
--- a/arch/sparc/prom/init_64.c
+++ b/arch/sparc/prom/init_64.c
@@ -22,8 +22,8 @@ int prom_stdout;
phandle prom_chosen_node;
/* You must call prom_init() before you attempt to use any of the
- * routines in the prom library. It returns 0 on success, 1 on
- * failure. It gets passed the pointer to the PROM vector.
+ * routines in the prom library.
+ * It gets passed the pointer to the PROM vector.
*/
extern void prom_cif_init(void *, void *);
OpenPOWER on IntegriCloud