diff options
Diffstat (limited to 'drivers/scsi/pcmcia/nsp_cs.h')
-rw-r--r-- | drivers/scsi/pcmcia/nsp_cs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/pcmcia/nsp_cs.h b/drivers/scsi/pcmcia/nsp_cs.h index 98397559c53b..7db28cd49446 100644 --- a/drivers/scsi/pcmcia/nsp_cs.h +++ b/drivers/scsi/pcmcia/nsp_cs.h | |||
@@ -393,7 +393,7 @@ enum _burst_mode { | |||
393 | #define MSG_EXT_SDTR 0x01 | 393 | #define MSG_EXT_SDTR 0x01 |
394 | 394 | ||
395 | /* scatter-gather table */ | 395 | /* scatter-gather table */ |
396 | # define BUFFER_ADDR ((char *)((unsigned int)(SCpnt->SCp.buffer->page) + SCpnt->SCp.buffer->offset)) | 396 | # define BUFFER_ADDR ((char *)((sg_virt(SCpnt->SCp.buffer)))) |
397 | 397 | ||
398 | #endif /*__nsp_cs__*/ | 398 | #endif /*__nsp_cs__*/ |
399 | /* end */ | 399 | /* end */ |