diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2018-12-11 07:24:34 +0800 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-12-13 09:58:59 +0100 |
commit | 8eb5d89f483141dd076529bf5f6aa235b425886e (patch) | |
tree | 6269ee8b06c84db74e6b8b06aa5fa55a271db12a /drivers/nvme/host/nvme.h | |
parent | 3f2304f8c6d6ed97849057bd16fee99e434ca796 (diff) | |
download | linux-8eb5d89f483141dd076529bf5f6aa235b425886e.tar.bz2 |
nvme: add __exit annotation
Add __exit annotation to cleanup helper which is only
called once in the module.
Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/nvme.h')
-rw-r--r-- | drivers/nvme/host/nvme.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h index e20e737ac10c..c78a9dc7fdcf 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -565,6 +565,6 @@ static inline struct nvme_ns *nvme_get_ns_from_dev(struct device *dev) } int __init nvme_core_init(void); -void nvme_core_exit(void); +void __exit nvme_core_exit(void); #endif /* _NVME_H */ |