[ARM] Fix Acorn platform SCSI driver build failures
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 6 Aug 2006 19:55:33 +0000 (20:55 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 6 Aug 2006 19:55:33 +0000 (20:55 +0100)
SCSI folk forgot to fix up all the uses of 'buffer' before deleting
this struct member.  Do it for them to rescue the resulting build
failures.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/scsi/arm/scsi.h

index 6dd544a5eb56a207f9918f33c1d20ce00e0cd7bd..8c2600ffc6afec68e270f224ea4ba17a4d3fb7b4 100644 (file)
@@ -74,7 +74,7 @@ static inline void init_SCp(Scsi_Cmnd *SCpnt)
                unsigned long len = 0;
                int buf;
 
-               SCpnt->SCp.buffer = (struct scatterlist *) SCpnt->buffer;
+               SCpnt->SCp.buffer = (struct scatterlist *) SCpnt->request_buffer;
                SCpnt->SCp.buffers_residual = SCpnt->use_sg - 1;
                SCpnt->SCp.ptr = (char *)
                         (page_address(SCpnt->SCp.buffer->page) +