]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/dax: Allow to include DEV_DAX_PMEM as builtin
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Mon, 1 Apr 2019 05:14:21 +0000 (10:44 +0530)
committerDan Williams <dan.j.williams@intel.com>
Tue, 7 May 2019 14:48:06 +0000 (07:48 -0700)
commit2d3243b3b8a1949cb9a3ecbf7d3f11e8bc57f0f5
tree402d2e4da17b0828ff7ac4ba0ec3ed64b6f36a78
parent8392e3fbff040457a0132865f8a411b65293a1b7
drivers/dax: Allow to include DEV_DAX_PMEM as builtin

This move the dependency to DEV_DAX_PMEM_COMPAT such that only
if DEV_DAX_PMEM is built as module we can allow the compat support.

This allows to test the new code easily in a emulation setup where we
often build things without module support.

Cc: <stable@vger.kernel.org>
Fixes: b9cc76e45c10 ("device-dax: Add /sys/class/dax backwards compatibility")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/Kconfig