summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/pmem.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2019-10-31 00:45:53 +0100
committerDan Williams <dan.j.williams@intel.com>2019-11-17 18:17:38 +0100
commitd7c0d927ad5ca452201eae40f932712ac733c816 (patch)
treefac01bf37f826ce04c8646f72f8120488dcf01fe /drivers/nvdimm/pmem.c
parentlibnvdimm/namespace: Differentiate between probe mapping and runtime mapping (diff)
downloadlinux-d7c0d927ad5ca452201eae40f932712ac733c816.tar.xz
linux-d7c0d927ad5ca452201eae40f932712ac733c816.zip
libnvdimm/pmem: Delete include of nd-core.h
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>
Diffstat (limited to 'drivers/nvdimm/pmem.c')
-rw-r--r--drivers/nvdimm/pmem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nvdimm/pmem.c b/drivers/nvdimm/pmem.c
index 7a6f4501dcda..ad8e4df1282b 100644
--- a/drivers/nvdimm/pmem.c
+++ b/drivers/nvdimm/pmem.c
@@ -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)
{