Commit f2350eae authored by Adrian Bunk's avatar Adrian Bunk Committed by James Bottomley

[PATCH] NCR53C9x compile fix

From: Geert Uytterhoeven <geert@linux-m68k.org>
parent ee301369
...@@ -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