Commit b2213433 authored by Paul Mackerras's avatar Paul Mackerras

PPC32: Fix compile warning in arch/ppc/platforms/residual.c

parent 797cca8a
...@@ -898,12 +898,13 @@ static int proc_prep_residual_read(char * buf, char ** start, off_t off, ...@@ -898,12 +898,13 @@ static int proc_prep_residual_read(char * buf, char ** start, off_t off,
return n; return n;
} }
void __init int __init
proc_prep_residual_init(void) proc_prep_residual_init(void)
{ {
if (res->ResidualLength) if (res->ResidualLength)
create_proc_read_entry("residual", S_IRUGO, NULL, create_proc_read_entry("residual", S_IRUGO, NULL,
proc_prep_residual_read, NULL); proc_prep_residual_read, NULL);
return 0;
} }
__initcall(proc_prep_residual_init); __initcall(proc_prep_residual_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment