libnvdimm/pmem: Delete include of nd-core.h
authorDan Williams <dan.j.williams@intel.com>
Wed, 30 Oct 2019 23:45:53 +0000 (16:45 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 17 Nov 2019 17:17:38 +0000 (09:17 -0800)
The entire point of nd-core.h is to hide functionality that no leaf
driver should touch. In fact, the commit that added it had no need to
include it.

Fixes: 06e8ccdab15f ("acpi: nfit: Add support for detect platform...")
Cc: Ira Weiny <ira.weiny@intel.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/pmem.c

index 7a6f450..ad8e4df 100644 (file)
@@ -28,7 +28,6 @@
 #include "pmem.h"
 #include "pfn.h"
 #include "nd.h"
-#include "nd-core.h"
 
 static struct device *to_dev(struct pmem_device *pmem)
 {