Commit d335df6c authored by Andrew Morton's avatar Andrew Morton Committed by Christoph Hellwig

[PATCH] psi240i build fix

drivers/scsi/psi240i.c:713: unknown field `abort' specified in initializer
drivers/scsi/psi240i.c:713: warning: initialization from incompatible pointer type
drivers/scsi/psi240i.c:714: unknown field `reset' specified in initializer
drivers/scsi/psi240i.c:714: warning: initialization from incompatible pointer typ
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent e8223ea5
......@@ -641,41 +641,6 @@ static int Psi240i_Release(struct Scsi_Host *shost)
return 0;
}
/****************************************************************
* Name: Psi240i_Abort
*
* Description: Process the Abort command from the SCSI manager.
*
* Parameters: SCpnt - Pointer to SCSI command structure.
*
* Returns: Allways snooze.
*
****************************************************************/
int Psi240i_Abort (Scsi_Cmnd *SCpnt)
{
DEB (printk ("psi240i_abort\n"));
return SCSI_ABORT_SNOOZE;
}
/****************************************************************
* Name: Psi240i_Reset
*
* Description: Process the Reset command from the SCSI manager.
*
* Parameters: SCpnt - Pointer to SCSI command structure.
* flags - Flags about the reset command
*
* Returns: No active command at this time, so this means
* that each time we got some kind of response the
* last time through. Tell the mid-level code to
* request sense information in order to decide what
* to do next.
*
****************************************************************/
int Psi240i_Reset (Scsi_Cmnd *SCpnt, unsigned int reset_flags)
{
return SCSI_RESET_PUNT;
}
/****************************************************************
* Name: Psi240i_BiosParam
*
......@@ -710,8 +675,6 @@ static Scsi_Host_Template driver_template = {
.detect = Psi240i_Detect,
.release = Psi240i_Release,
.queuecommand = Psi240i_QueueCommand,
.abort = Psi240i_Abort,
.reset = Psi240i_Reset,
.bios_param = Psi240i_BiosParam,
.can_queue = 1,
.this_id = -1,
......
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