nvdimm: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:48:13 +0000 (11:48 -0600)
committerDave Jiang <dave.jiang@intel.com>
Wed, 19 Jul 2023 15:45:50 +0000 (08:45 -0700)
commitfd774e36fe873632b1e9cf067cea46d7d7df55ac
treebb6591378365fc2106949e3b1b8e8a01eed27d8b
parentc1dbd8a849183b9c12d257ad3043ecec50db50b3
nvdimm: Explicitly include correct DT includes

The DT of_device.h and of_platform.h date back to the separate
of_platform_bus_type before it as merged into the regular platform bus.
As part of that merge prepping Arm DT support 13 years ago, they
"temporarily" include each other. They also include platform_device.h
and of.h. As a result, there's a pretty much random mix of those include
files used throughout the tree. In order to detangle these headers and
replace the implicit includes with struct declarations, users need to
explicitly include the correct includes.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/nvdimm/of_pmem.c