From: Dan Williams Date: Thu, 19 Apr 2018 22:07:42 +0000 (-0700) Subject: Revert "libnvdimm, of_pmem: workaround OF_NUMA=n build error" X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f22acf82746dd3d75e06d7c5801926d3b9c50169;p=openwrt%2Fstaging%2Fblogic.git Revert "libnvdimm, of_pmem: workaround OF_NUMA=n build error" With commit df3f126482db ("libnvdimm, of_pmem: use dev_to_node() instead of of_node_to_nid()") it is now possible to allow of_pmem to be built as a module as originally implemented. Signed-off-by: Dan Williams --- diff --git a/drivers/nvdimm/Kconfig b/drivers/nvdimm/Kconfig index 85997184e047..9d36473dc2a2 100644 --- a/drivers/nvdimm/Kconfig +++ b/drivers/nvdimm/Kconfig @@ -103,8 +103,7 @@ config NVDIMM_DAX Select Y if unsure config OF_PMEM - # FIXME: make tristate once OF_NUMA dependency removed - bool "Device-tree support for persistent memory regions" + tristate "Device-tree support for persistent memory regions" depends on OF default LIBNVDIMM help