浏览代码

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>
Geert Uytterhoeven 13 年之前
父节点
当前提交
e393d1bd35
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      arch/sparc/prom/init_32.c
  2. 2 2
      arch/sparc/prom/init_64.c

+ 2 - 2
arch/sparc/prom/init_32.c

@@ -27,8 +27,8 @@ EXPORT_SYMBOL(prom_root_node);
 struct linux_nodeops *prom_nodeops;
 struct linux_nodeops *prom_nodeops;
 
 
 /* You must call prom_init() before you attempt to use any of the
 /* 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);
 extern void prom_meminit(void);

+ 2 - 2
arch/sparc/prom/init_64.c

@@ -22,8 +22,8 @@ int prom_stdout;
 phandle prom_chosen_node;
 phandle prom_chosen_node;
 
 
 /* You must call prom_init() before you attempt to use any of the
 /* 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 *);
 extern void prom_cif_init(void *, void *);