From: Richard Knutsson Date: Sun, 06 Jan 2008 03:03:36 +0000 Subject: [PATCH 9/33][SCSI] blz2060: Convert 'Scsi_Cmnd' to 'struct scsi_cmnd' Message-Id: <20080106030336.30002.67159.sendpatchset@thinktank.campus.ltu.se> List-Id: References: <20080106030250.30002.96493.sendpatchset@thinktank.campus.ltu.se> In-Reply-To: <20080106030250.30002.96493.sendpatchset@thinktank.campus.ltu.se> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: James.Bottomley@SteelEye.com Cc: trivial@kernel.org, kernel-janitors@vger.kernel.org, linux-scsi@vger.kernel.org, Richard Knutsson Convert the typedef'ed 'Scsi_Cmnd' to 'struct scsi_cmnd'. Signed-off-by: Richard Knutsson --- Last item before 'drivers/scsi/scsi_typedefs.h' can be removed. diff --git a/drivers/scsi/blz2060.c b/drivers/scsi/blz2060.c index b6203ec..c7b98b8 100644 --- a/drivers/scsi/blz2060.c +++ b/drivers/scsi/blz2060.c @@ -71,7 +71,7 @@ struct blz2060_dma_registers { #define BLZ2060_DMA_LED 0x02 /* HD led control 1 = off */ static int dma_bytes_sent(struct NCR_ESP *esp, int fifo_count); -static int dma_can_transfer(struct NCR_ESP *esp, Scsi_Cmnd *sp); +static int dma_can_transfer(struct NCR_ESP *esp, struct scsi_cmnd *sp); static void dma_dump_state(struct NCR_ESP *esp); static void dma_init_read(struct NCR_ESP *esp, __u32 addr, int length); static void dma_init_write(struct NCR_ESP *esp, __u32 addr, int length); @@ -176,7 +176,7 @@ static int dma_bytes_sent(struct NCR_ESP *esp, int fifo_count) return fifo_count; } -static int dma_can_transfer(struct NCR_ESP *esp, Scsi_Cmnd *sp) +static int dma_can_transfer(struct NCR_ESP *esp, struct scsi_cmnd *sp) { /* I don't think there's any limit on the Blizzard DMA. So we use what * the ESP chip can handle (24 bit).