summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/e820.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-07-24 17:05:44 +0200
committerDan Williams <dan.j.williams@intel.com>2016-07-24 17:05:44 +0200
commit0606263f24f3d64960de742c55894190b5df903b (patch)
tree673894f227c1a761f601ad7bdc1ceef003bb85cb /drivers/nvdimm/e820.c
parentnfit: make DIMM DSMs optional (diff)
parentlibnvdimm-btt: Delete an unnecessary check before the function call "__nd_dev... (diff)
downloadlinux-0606263f24f3d64960de742c55894190b5df903b.tar.xz
linux-0606263f24f3d64960de742c55894190b5df903b.zip
Merge branch 'for-4.8/libnvdimm' into libnvdimm-for-next
Diffstat (limited to 'drivers/nvdimm/e820.c')
-rw-r--r--drivers/nvdimm/e820.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvdimm/e820.c b/drivers/nvdimm/e820.c
index 95825b38559a..11ea90120542 100644
--- a/drivers/nvdimm/e820.c
+++ b/drivers/nvdimm/e820.c
@@ -47,6 +47,7 @@ static int e820_pmem_probe(struct platform_device *pdev)
nd_desc.attr_groups = e820_pmem_attribute_groups;
nd_desc.provider_name = "e820";
+ nd_desc.module = THIS_MODULE;
nvdimm_bus = nvdimm_bus_register(dev, &nd_desc);
if (!nvdimm_bus)
goto err;