mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +00:00
nvdimm: add missing MODULE_DESCRIPTION() macros
Fix the 'make W=1' warnings: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/libnvdimm.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/nd_pmem.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/nd_btt.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/nd_e820.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/of_pmem.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/nvdimm/nd_virtio.o [iweiny: edit core module description] Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Link: https://patch.msgid.link/r/20240526-md-drivers-nvdimm-v1-1-9e583677e80f@quicinc.com Signed-off-by: Ira Weiny <ira.weiny@intel.com>
This commit is contained in:
parent
3101daba2b
commit
5b2480febf
@ -1721,6 +1721,7 @@ static void __exit nd_btt_exit(void)
|
||||
|
||||
MODULE_ALIAS_ND_DEVICE(ND_DEVICE_BTT);
|
||||
MODULE_AUTHOR("Vishal Verma <vishal.l.verma@linux.intel.com>");
|
||||
MODULE_DESCRIPTION("NVDIMM Block Translation Table");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
module_init(nd_btt_init);
|
||||
module_exit(nd_btt_exit);
|
||||
|
@ -540,6 +540,7 @@ static __exit void libnvdimm_exit(void)
|
||||
nvdimm_devs_exit();
|
||||
}
|
||||
|
||||
MODULE_DESCRIPTION("NVDIMM (Non-Volatile Memory Device) core");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_AUTHOR("Intel Corporation");
|
||||
subsys_initcall(libnvdimm_init);
|
||||
|
@ -69,5 +69,6 @@ static struct platform_driver e820_pmem_driver = {
|
||||
module_platform_driver(e820_pmem_driver);
|
||||
|
||||
MODULE_ALIAS("platform:e820_pmem*");
|
||||
MODULE_DESCRIPTION("NVDIMM support for e820 type-12 memory");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_AUTHOR("Intel Corporation");
|
||||
|
@ -123,4 +123,5 @@ int async_pmem_flush(struct nd_region *nd_region, struct bio *bio)
|
||||
return 0;
|
||||
};
|
||||
EXPORT_SYMBOL_GPL(async_pmem_flush);
|
||||
MODULE_DESCRIPTION("Virtio Persistent Memory Driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -111,5 +111,6 @@ static struct platform_driver of_pmem_region_driver = {
|
||||
|
||||
module_platform_driver(of_pmem_region_driver);
|
||||
MODULE_DEVICE_TABLE(of, of_pmem_region_match);
|
||||
MODULE_DESCRIPTION("NVDIMM Device Tree support");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_AUTHOR("IBM Corporation");
|
||||
|
@ -768,4 +768,5 @@ static struct nd_device_driver nd_pmem_driver = {
|
||||
module_nd_driver(nd_pmem_driver);
|
||||
|
||||
MODULE_AUTHOR("Ross Zwisler <ross.zwisler@linux.intel.com>");
|
||||
MODULE_DESCRIPTION("NVDIMM Persistent Memory Driver");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
Loading…
Reference in New Issue
Block a user