diff options
Diffstat (limited to 'drivers/nvme/host/nvme.h')
-rw-r--r-- | drivers/nvme/host/nvme.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h index 4135626a3d6f..9b63e719318a 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h | |||
@@ -108,6 +108,7 @@ struct nvme_ctrl { | |||
108 | u32 vs; | 108 | u32 vs; |
109 | bool subsystem; | 109 | bool subsystem; |
110 | unsigned long quirks; | 110 | unsigned long quirks; |
111 | struct work_struct scan_work; | ||
111 | }; | 112 | }; |
112 | 113 | ||
113 | /* | 114 | /* |
@@ -147,6 +148,7 @@ struct nvme_ctrl_ops { | |||
147 | int (*reg_read64)(struct nvme_ctrl *ctrl, u32 off, u64 *val); | 148 | int (*reg_read64)(struct nvme_ctrl *ctrl, u32 off, u64 *val); |
148 | int (*reset_ctrl)(struct nvme_ctrl *ctrl); | 149 | int (*reset_ctrl)(struct nvme_ctrl *ctrl); |
149 | void (*free_ctrl)(struct nvme_ctrl *ctrl); | 150 | void (*free_ctrl)(struct nvme_ctrl *ctrl); |
151 | void (*post_scan)(struct nvme_ctrl *ctrl); | ||
150 | }; | 152 | }; |
151 | 153 | ||
152 | static inline bool nvme_ctrl_ready(struct nvme_ctrl *ctrl) | 154 | static inline bool nvme_ctrl_ready(struct nvme_ctrl *ctrl) |
@@ -207,7 +209,7 @@ void nvme_uninit_ctrl(struct nvme_ctrl *ctrl); | |||
207 | void nvme_put_ctrl(struct nvme_ctrl *ctrl); | 209 | void nvme_put_ctrl(struct nvme_ctrl *ctrl); |
208 | int nvme_init_identify(struct nvme_ctrl *ctrl); | 210 | int nvme_init_identify(struct nvme_ctrl *ctrl); |
209 | 211 | ||
210 | void nvme_scan_namespaces(struct nvme_ctrl *ctrl); | 212 | void nvme_queue_scan(struct nvme_ctrl *ctrl); |
211 | void nvme_remove_namespaces(struct nvme_ctrl *ctrl); | 213 | void nvme_remove_namespaces(struct nvme_ctrl *ctrl); |
212 | 214 | ||
213 | void nvme_stop_queues(struct nvme_ctrl *ctrl); | 215 | void nvme_stop_queues(struct nvme_ctrl *ctrl); |