diff options
author | Rob Herring <robh@kernel.org> | 2023-07-14 19:48:25 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-07-18 21:33:17 +0200 |
commit | c925cfaf0992f151c02f239e035ca9316224f224 (patch) | |
tree | 9fc2b315cca251842a33f6050304a1b5d9556d1c /drivers/pci/endpoint/pci-epc-core.c | |
parent | x86/PCI: Use struct_size() in pirq_convert_irt_table() (diff) | |
download | linux-c925cfaf0992f151c02f239e035ca9316224f224.tar.xz linux-c925cfaf0992f151c02f239e035ca9316224f224.zip |
PCI: 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.
Link: https://lore.kernel.org/r/20230714174827.4061572-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/endpoint/pci-epc-core.c')
-rw-r--r-- | drivers/pci/endpoint/pci-epc-core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/endpoint/pci-epc-core.c b/drivers/pci/endpoint/pci-epc-core.c index 6c54fa5684d2..5a4a8b0be626 100644 --- a/drivers/pci/endpoint/pci-epc-core.c +++ b/drivers/pci/endpoint/pci-epc-core.c @@ -9,7 +9,6 @@ #include <linux/device.h> #include <linux/slab.h> #include <linux/module.h> -#include <linux/of_device.h> #include <linux/pci-epc.h> #include <linux/pci-epf.h> |