diff options
| author | Saurav Kashyap <saurav.kashyap@qlogic.com> | 2013-06-25 11:27:18 -0400 |
|---|---|---|
| committer | James Bottomley <JBottomley@Parallels.com> | 2013-07-08 12:16:51 -0400 |
| commit | 3491255e12c5cd5310d855fe276f7971737a1c10 (patch) | |
| tree | df10e95000a705146e91a28e3aaf07f806523154 | |
| parent | 8edf3edd8da076008093a8a04d349bbef02ecd88 (diff) | |
[SCSI] qla2xxx: Move qla2x00_free_device to the correct location.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
| -rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index ad72c1d85111..c2e2e20d2e21 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
| @@ -104,8 +104,6 @@ MODULE_PARM_DESC(ql2xshiftctondsd, | |||
| 104 | "Set to control shifting of command type processing " | 104 | "Set to control shifting of command type processing " |
| 105 | "based on total number of SG elements."); | 105 | "based on total number of SG elements."); |
| 106 | 106 | ||
| 107 | static void qla2x00_free_device(scsi_qla_host_t *); | ||
| 108 | |||
| 109 | int ql2xfdmienable=1; | 107 | int ql2xfdmienable=1; |
| 110 | module_param(ql2xfdmienable, int, S_IRUGO); | 108 | module_param(ql2xfdmienable, int, S_IRUGO); |
| 111 | MODULE_PARM_DESC(ql2xfdmienable, | 109 | MODULE_PARM_DESC(ql2xfdmienable, |
| @@ -237,6 +235,7 @@ static int qla2xxx_eh_host_reset(struct scsi_cmnd *); | |||
| 237 | 235 | ||
| 238 | static int qla2x00_change_queue_depth(struct scsi_device *, int, int); | 236 | static int qla2x00_change_queue_depth(struct scsi_device *, int, int); |
| 239 | static int qla2x00_change_queue_type(struct scsi_device *, int); | 237 | static int qla2x00_change_queue_type(struct scsi_device *, int); |
| 238 | static void qla2x00_free_device(scsi_qla_host_t *); | ||
| 240 | 239 | ||
| 241 | struct scsi_host_template qla2xxx_driver_template = { | 240 | struct scsi_host_template qla2xxx_driver_template = { |
| 242 | .module = THIS_MODULE, | 241 | .module = THIS_MODULE, |
