Re: [patch] ide-scsi compile fix

From: Martin Dalecki (dalecki@evision-ventures.com)
Date: Sat Mar 09 2002 - 08:08:07 EST


jason wrote:
> GCC gives an error about an undefined reference to idescsi_init from ide.c when compiling 2.5.6 with ide scsi emulation enabled, this patch corrects the problem.

Tank you for looking after this.
That was a bit too far reaching on my behalf. You are right if
one disables module support.

>
> --- a/drivers/scsi/ide-scsi.c Fri Mar 8 17:22:52 2002
> +++ b/drivers/scsi/ide-scsi.c Fri Mar 8 17:23:00 2002
> @@ -565,7 +565,7 @@
> /*
> * idescsi_init will register the driver for each scsi.
> */
> -static int idescsi_init(void)
> +int idescsi_init(void)
> {
> ide_drive_t *drive;
> idescsi_scsi_t *scsi;
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 15 2002 - 22:00:12 EST