From: Dan Williams Date: Wed, 30 Oct 2019 23:45:53 +0000 (-0700) Subject: libnvdimm/pmem: Delete include of nd-core.h X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~3333^2~16 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=d7c0d927ad5ca452201eae40f932712ac733c816;p=linux.git 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 Cc: Dave Jiang Cc: Vishal Verma Signed-off-by: Dan Williams --- 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) {