diff options
author | Rob Herring <robh@kernel.org> | 2023-07-14 19:40:50 +0200 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2023-08-02 10:37:05 +0200 |
commit | 61e6ae711ada4895d124082bc163586766579cd7 (patch) | |
tree | 4ec04f02ae6953371df9caf9885b2f6c7b69e1b4 /drivers/ata/ahci_dwc.c | |
parent | Linux 6.5-rc4 (diff) | |
download | linux-61e6ae711ada4895d124082bc163586766579cd7.tar.xz linux-61e6ae711ada4895d124082bc163586766579cd7.zip |
ata: 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: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'drivers/ata/ahci_dwc.c')
-rw-r--r-- | drivers/ata/ahci_dwc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci_dwc.c b/drivers/ata/ahci_dwc.c index 9604a2f6ed48..ed263de3fd70 100644 --- a/drivers/ata/ahci_dwc.c +++ b/drivers/ata/ahci_dwc.c @@ -15,7 +15,7 @@ #include <linux/log2.h> #include <linux/mfd/syscon.h> #include <linux/module.h> -#include <linux/of_device.h> +#include <linux/of.h> #include <linux/platform_device.h> #include <linux/pm.h> #include <linux/regmap.h> |