Skip to content

Commit

Permalink
sparc: Correct comments about prom_init() return values
Browse files Browse the repository at this point in the history
prom_init() returns void.

Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
geertu authored and davem330 committed Jun 27, 2012
1 parent 84a55f6 commit e393d1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arch/sparc/prom/init_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions arch/sparc/prom/init_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);
Expand Down

0 comments on commit e393d1b

Please sign in to comment.