Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-1
-1
drivers/nvdimm/pmem.c
··· 28 28 #include "pmem.h" 29 29 #include "pfn.h" 30 30 #include "nd.h" 31 - #include "nd-core.h" 32 31 33 32 static struct device *to_dev(struct pmem_device *pmem) 34 33 {