pci.c (4ccb6aea4b3eb97c94575d1ed4bf10744169f082) | pci.c (f363b089be0a39fe4282c688118a51d21f952bc7) |
---|---|
1/* 2 * NVM Express device driver 3 * Copyright (c) 2011-2014, Intel Corporation. 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms and conditions of the GNU General Public License, 7 * version 2, as published by the Free Software Foundation. 8 * --- 1115 unchanged lines hidden (view full) --- 1124 1125 release_sq: 1126 adapter_delete_sq(dev, qid); 1127 release_cq: 1128 adapter_delete_cq(dev, qid); 1129 return result; 1130} 1131 | 1/* 2 * NVM Express device driver 3 * Copyright (c) 2011-2014, Intel Corporation. 4 * 5 * This program is free software; you can redistribute it and/or modify it 6 * under the terms and conditions of the GNU General Public License, 7 * version 2, as published by the Free Software Foundation. 8 * --- 1115 unchanged lines hidden (view full) --- 1124 1125 release_sq: 1126 adapter_delete_sq(dev, qid); 1127 release_cq: 1128 adapter_delete_cq(dev, qid); 1129 return result; 1130} 1131 |
1132static struct blk_mq_ops nvme_mq_admin_ops = { | 1132static const struct blk_mq_ops nvme_mq_admin_ops = { |
1133 .queue_rq = nvme_queue_rq, 1134 .complete = nvme_complete_rq, 1135 .init_hctx = nvme_admin_init_hctx, 1136 .exit_hctx = nvme_admin_exit_hctx, 1137 .init_request = nvme_admin_init_request, 1138 .timeout = nvme_timeout, 1139}; 1140 | 1133 .queue_rq = nvme_queue_rq, 1134 .complete = nvme_complete_rq, 1135 .init_hctx = nvme_admin_init_hctx, 1136 .exit_hctx = nvme_admin_exit_hctx, 1137 .init_request = nvme_admin_init_request, 1138 .timeout = nvme_timeout, 1139}; 1140 |
1141static struct blk_mq_ops nvme_mq_ops = { | 1141static const struct blk_mq_ops nvme_mq_ops = { |
1142 .queue_rq = nvme_queue_rq, 1143 .complete = nvme_complete_rq, 1144 .init_hctx = nvme_init_hctx, 1145 .init_request = nvme_init_request, 1146 .map_queues = nvme_pci_map_queues, 1147 .timeout = nvme_timeout, 1148 .poll = nvme_poll, 1149}; --- 1047 unchanged lines hidden --- | 1142 .queue_rq = nvme_queue_rq, 1143 .complete = nvme_complete_rq, 1144 .init_hctx = nvme_init_hctx, 1145 .init_request = nvme_init_request, 1146 .map_queues = nvme_pci_map_queues, 1147 .timeout = nvme_timeout, 1148 .poll = nvme_poll, 1149}; --- 1047 unchanged lines hidden --- |