Setup functions should return an integer value...
Jeff
>
> Have a nice fortnight
> --
> Martin `MJ' Mares <mj@ucw.cz> <mj@suse.cz> http://atrey.karlin.mff.cuni.cz/~mj/
> "Light-year? One-third less calories than a regular year."
>
> --- linux/drivers/scsi/aic7xxx.c.mj Tue Nov 30 09:48:08 1999
> +++ linux/drivers/scsi/aic7xxx.c Tue Nov 30 09:49:08 1999
> @@ -242,6 +242,7 @@
> #include <linux/proc_fs.h>
> #include <linux/blk.h>
> #include <linux/tqueue.h>
> +#include <linux/init.h>
> #include "sd.h"
> #include "scsi.h"
> #include "hosts.h"
> @@ -1499,8 +1500,8 @@
> * to a parameter with a ':' between the parameter and the value.
> * ie. aic7xxx=unpause:0x0A,extended
> *-F*************************************************************************/
> -void
> -aic7xxx_setup(char *s, int *dummy)
> +static void
> +aic7xxx_setup(char *s)
> {
> int i, n;
> char *p;
> @@ -1638,6 +1639,8 @@
> }
> }
> }
> +
> +__setup("aic7xxx=", aix7xxx_setup);
>
> /*+F*************************************************************************
> * Function:
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
-- Jeff Garzik | Just once, I wish we would encounter Building 1024 | an alien menace that wasn't immune to MandrakeSoft, Inc. | bullets. -- The Brigadier, "Dr. Who"- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/