Commit 893a74b7 authored by Christoph Hellwig's avatar Christoph Hellwig

nvme: mark nvme_core_init and nvme_core_exit static

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Reviewed-by: default avatarKeith Busch <keith.busch@intel.com>
Reviewed-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
parent 81101540
...@@ -3904,7 +3904,7 @@ static inline void _nvme_check_size(void) ...@@ -3904,7 +3904,7 @@ static inline void _nvme_check_size(void)
} }
int __init nvme_core_init(void) static int __init nvme_core_init(void)
{ {
int result = -ENOMEM; int result = -ENOMEM;
...@@ -3956,7 +3956,7 @@ int __init nvme_core_init(void) ...@@ -3956,7 +3956,7 @@ int __init nvme_core_init(void)
return result; return result;
} }
void __exit nvme_core_exit(void) static void __exit nvme_core_exit(void)
{ {
ida_destroy(&nvme_subsystems_ida); ida_destroy(&nvme_subsystems_ida);
class_destroy(nvme_subsys_class); class_destroy(nvme_subsys_class);
......
...@@ -577,7 +577,4 @@ static inline struct nvme_ns *nvme_get_ns_from_dev(struct device *dev) ...@@ -577,7 +577,4 @@ static inline struct nvme_ns *nvme_get_ns_from_dev(struct device *dev)
return dev_to_disk(dev)->private_data; return dev_to_disk(dev)->private_data;
} }
int __init nvme_core_init(void);
void __exit nvme_core_exit(void);
#endif /* _NVME_H */ #endif /* _NVME_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment