summaryrefslogtreecommitdiff
path: root/drivers/nvdimm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/nvdimm/Makefile')
-rw-r--r--drivers/nvdimm/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/nvdimm/Makefile b/drivers/nvdimm/Makefile
index af5e2760ddbd..4d2a27f52faa 100644
--- a/drivers/nvdimm/Makefile
+++ b/drivers/nvdimm/Makefile
@@ -1,4 +1,7 @@
obj-$(CONFIG_LIBNVDIMM) += libnvdimm.o
+obj-$(CONFIG_BLK_DEV_PMEM) += nd_pmem.o
+
+nd_pmem-y := pmem.o
libnvdimm-y := core.o
libnvdimm-y += bus.o