aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/nvme.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-04-30 11:37:43 -0400
committerChristoph Hellwig <hch@lst.de>2019-05-01 09:18:47 -0400
commit893a74b7a76e6e9c5c7199e6aae946f090622fa2 (patch)
tree9ce2fb613da7f748c77c55c49bce045c604b42f8 /drivers/nvme/host/nvme.h
parentnvme: move command size checks to the core (diff)
downloadlinux-dev-893a74b7a76e6e9c5c7199e6aae946f090622fa2.tar.xz
linux-dev-893a74b7a76e6e9c5c7199e6aae946f090622fa2.zip
nvme: mark nvme_core_init and nvme_core_exit static
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Keith Busch <keith.busch@intel.com> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Diffstat (limited to '')
-rw-r--r--drivers/nvme/host/nvme.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index 527d64545023..5ee75b5ff83f 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -577,7 +577,4 @@ static inline struct nvme_ns *nvme_get_ns_from_dev(struct device *dev)
return dev_to_disk(dev)->private_data;
}
-int __init nvme_core_init(void);
-void __exit nvme_core_exit(void);
-
#endif /* _NVME_H */