summaryrefslogtreecommitdiffstats
path: root/drivers/dax/pmem/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dax/pmem/compat.c')
-rw-r--r--drivers/dax/pmem/compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dax/pmem/compat.c b/drivers/dax/pmem/compat.c
index d7b15e6f30c5..863c114fd88c 100644
--- a/drivers/dax/pmem/compat.c
+++ b/drivers/dax/pmem/compat.c
@@ -22,7 +22,7 @@ static int dax_pmem_compat_probe(struct device *dev)
return -ENOMEM;
device_lock(&dev_dax->dev);
- rc = dev_dax_probe(&dev_dax->dev);
+ rc = dev_dax_probe(dev_dax);
device_unlock(&dev_dax->dev);
devres_close_group(&dev_dax->dev, dev_dax);