diff options
Diffstat (limited to 'drivers/nvdimm/dimm.c')
-rw-r--r-- | drivers/nvdimm/dimm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/nvdimm/dimm.c b/drivers/nvdimm/dimm.c index 0cf58cabc9ed..3cf50274fadb 100644 --- a/drivers/nvdimm/dimm.c +++ b/drivers/nvdimm/dimm.c | |||
@@ -26,6 +26,12 @@ static int nvdimm_probe(struct device *dev) | |||
26 | struct nvdimm_drvdata *ndd; | 26 | struct nvdimm_drvdata *ndd; |
27 | int rc; | 27 | int rc; |
28 | 28 | ||
29 | rc = nvdimm_security_setup_events(dev); | ||
30 | if (rc < 0) { | ||
31 | dev_err(dev, "security event setup failed: %d\n", rc); | ||
32 | return rc; | ||
33 | } | ||
34 | |||
29 | rc = nvdimm_check_config_data(dev); | 35 | rc = nvdimm_check_config_data(dev); |
30 | if (rc) { | 36 | if (rc) { |
31 | /* not required for non-aliased nvdimm, ex. NVDIMM-N */ | 37 | /* not required for non-aliased nvdimm, ex. NVDIMM-N */ |