Commit 76046ffa authored by Andrew Morton's avatar Andrew Morton Committed by Greg Kroah-Hartman

[PATCH] NCR53C9x compile fix

From: Geert Uytterhoeven <geert@linux-m68k.org>

NCR53C9x SCSI: Fix compilation after breakage in 2.5.71
parent 234b111c
...@@ -893,7 +893,7 @@ static int esp_host_info(struct NCR_ESP *esp, char *ptr, off_t offset, int len) ...@@ -893,7 +893,7 @@ static int esp_host_info(struct NCR_ESP *esp, char *ptr, off_t offset, int len)
int esp_proc_info(struct Scsi_Host *shost, char *buffer, char **start, off_t offset, int length, int esp_proc_info(struct Scsi_Host *shost, char *buffer, char **start, off_t offset, int length,
int inout) int inout)
{ {
struct NCR_ESP *esp = (struct NCR_ESP *) SCpnt->device->host->hostdata; struct NCR_ESP *esp = (struct NCR_ESP *)shost->hostdata;
if(inout) if(inout)
return -EINVAL; /* not yet */ return -EINVAL; /* not yet */
......
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