diff options
Diffstat (limited to 'drivers/nvme/nvme.h')
-rw-r--r-- | drivers/nvme/nvme.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/nvme/nvme.h b/drivers/nvme/nvme.h index bc6b79f8dd..bc1d612dde 100644 --- a/drivers/nvme/nvme.h +++ b/drivers/nvme/nvme.h @@ -691,6 +691,18 @@ struct nvme_ops { void (*complete_cmd)(struct nvme_queue *nvmeq, struct nvme_command *cmd); }; +/** + * nvme_init() - Initialize NVM Express device + * @udev: The NVM Express device + * Return: 0 if OK, -ve on error + */ int nvme_init(struct udevice *udev); +/** + * nvme_shutdown() - Shutdown NVM Express device + * @udev: The NVM Express device + * Return: 0 if OK, -ve on error + */ +int nvme_shutdown(struct udevice *udev); + #endif /* __DRIVER_NVME_H__ */ |