[PATCH v2] libnvdimm, e820: make CONFIG_X86_PMEM_LEGACY a tristate option

2015-08-18 Thread Dan Williams
We currently register a platform device for e820 type-12 memory and register a nvdimm bus beneath it. Registering the platform device triggers the device-core machinery to probe for a driver, but that search currently comes up empty. Building the nvdimm-bus registration into the e820_pmem

[PATCH v2] libnvdimm, e820: make CONFIG_X86_PMEM_LEGACY a tristate option

2015-08-18 Thread Dan Williams
We currently register a platform device for e820 type-12 memory and register a nvdimm bus beneath it. Registering the platform device triggers the device-core machinery to probe for a driver, but that search currently comes up empty. Building the nvdimm-bus registration into the e820_pmem