]> git.neil.brown.name Git - history.git/commitdiff
PPC32: Fix compile warning in arch/ppc/platforms/residual.c
authorPaul Mackerras <paulus@samba.org>
Fri, 6 Dec 2002 03:21:35 +0000 (14:21 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 6 Dec 2002 03:21:35 +0000 (14:21 +1100)
arch/ppc/platforms/residual.c

index efd5ab0967af067280b65de61d08914c55f6bfd4..c1fea63a5492513f65fecf882dc7af810175dd20 100644 (file)
@@ -898,12 +898,13 @@ static int proc_prep_residual_read(char * buf, char ** start, off_t off,
        return n;
 }
 
-void __init
+int __init
 proc_prep_residual_init(void)
 {
        if (res->ResidualLength)
                create_proc_read_entry("residual", S_IRUGO, NULL,
                                        proc_prep_residual_read, NULL);
+       return 0;
 }
 
 __initcall(proc_prep_residual_init);