[PATCH] NCR53C9x compile fix (fwd)

Adrian Bunk (bunk@fs.tum.de)
Tue, 24 Jun 2003 19:51:38 +0200


The patch forwarded below is still needed in 2.5.73.

Please apply
Adrian

----- Forwarded message from Geert Uytterhoeven <geert@linux-m68k.org> -----

Date: Sun, 15 Jun 2003 20:38:40 +0200
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Linux Kernel Development <linux-kernel@vger.kernel.org>,
Geert Uytterhoeven <geert@linux-m68k.org>
Subject: [PATCH] NCR53C9x compile fix

NCR53C9x SCSI: Fix compilation after breakage in 2.5.71

--- linux-2.5.x/drivers/scsi/NCR53C9x.c Sun Jun 15 10:04:26 2003
+++ linux-m68k-2.5.x/drivers/scsi/NCR53C9x.c Sun Jun 15 11:49:32 2003
@@ -893,7 +893,7 @@
int esp_proc_info(struct Scsi_Host *shost, char *buffer, char **start, off_t offset, int length,
int inout)
{
- struct NCR_ESP *esp = (struct NCR_ESP *) SCpnt->device->host->hostdata;
+ struct NCR_ESP *esp = (struct NCR_ESP *)shost->hostdata;

if(inout)
return -EINVAL; /* not yet */

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

----- End forwarded message ----- - 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/