diff options
author | Mike Galbraith <efault@gmx.de> | 2017-05-06 00:14:43 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-05-08 13:54:49 -0400 |
commit | 74d71a01abef37f71d914f2105a4cb8712a2beb8 (patch) | |
tree | 93cc2c5b821da2b7953195f88c7c5b803234c5b5 /drivers/dax/Kconfig | |
parent | 736163671bcb163fc82600b46c83dfa89d532d95 (diff) |
device-dax: Tell kbuild DEV_DAX_PMEM depends on DEV_DAX
ERROR: "devm_create_dev_dax" [drivers/dax/dax_pmem.ko] undefined!
ERROR: "alloc_dax_region" [drivers/dax/dax_pmem.ko] undefined!
ERROR: "dax_region_put" [drivers/dax/dax_pmem.ko] undefined!
Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax/Kconfig')
-rw-r--r-- | drivers/dax/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dax/Kconfig b/drivers/dax/Kconfig index b7053eafd88e..6b7e20eae16c 100644 --- a/drivers/dax/Kconfig +++ b/drivers/dax/Kconfig | |||
@@ -19,7 +19,7 @@ config DEV_DAX | |||
19 | 19 | ||
20 | config DEV_DAX_PMEM | 20 | config DEV_DAX_PMEM |
21 | tristate "PMEM DAX: direct access to persistent memory" | 21 | tristate "PMEM DAX: direct access to persistent memory" |
22 | depends on LIBNVDIMM && NVDIMM_DAX | 22 | depends on LIBNVDIMM && NVDIMM_DAX && DEV_DAX |
23 | default DEV_DAX | 23 | default DEV_DAX |
24 | help | 24 | help |
25 | Support raw access to persistent memory. Note that this | 25 | Support raw access to persistent memory. Note that this |