diff options
author | Christoph Hellwig <hch@lst.de> | 2014-10-02 08:39:55 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-12 05:19:39 -0500 |
commit | a62182f338b39a22035531c6afc0a8d2928b1df2 (patch) | |
tree | 57ca6cea82a09d2655daf5c161024c5015373646 /drivers/scsi/fnic | |
parent | 1d5203284d8acbdfdf9b478d434450b34f338f28 (diff) |
scsi: provide a generic change_queue_type method
Most drivers use exactly the same implementation, so provide it as a
library function.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'drivers/scsi/fnic')
-rw-r--r-- | drivers/scsi/fnic/fnic_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fnic/fnic_main.c b/drivers/scsi/fnic/fnic_main.c index 8c56fdc3a456..8581ce662cf0 100644 --- a/drivers/scsi/fnic/fnic_main.c +++ b/drivers/scsi/fnic/fnic_main.c | |||
@@ -113,7 +113,7 @@ static struct scsi_host_template fnic_host_template = { | |||
113 | .eh_host_reset_handler = fnic_host_reset, | 113 | .eh_host_reset_handler = fnic_host_reset, |
114 | .slave_alloc = fnic_slave_alloc, | 114 | .slave_alloc = fnic_slave_alloc, |
115 | .change_queue_depth = fc_change_queue_depth, | 115 | .change_queue_depth = fc_change_queue_depth, |
116 | .change_queue_type = fc_change_queue_type, | 116 | .change_queue_type = scsi_change_queue_type, |
117 | .this_id = -1, | 117 | .this_id = -1, |
118 | .cmd_per_lun = 3, | 118 | .cmd_per_lun = 3, |
119 | .can_queue = FNIC_DFLT_IO_REQ, | 119 | .can_queue = FNIC_DFLT_IO_REQ, |