diff options
author | Rob Herring <robh@kernel.org> | 2023-07-14 19:44:34 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-08-28 20:31:01 +0200 |
commit | 408d80889305c9c50ae5d88f9e705d56fc867d13 (patch) | |
tree | 50f3aa6c1bf773586e26d0b07301dccb043f5e92 /drivers/edac/synopsys_edac.c | |
parent | clocksource: Explicitly include correct DT includes (diff) | |
download | linux-408d80889305c9c50ae5d88f9e705d56fc867d13.tar.xz linux-408d80889305c9c50ae5d88f9e705d56fc867d13.zip |
EDAC: 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 was 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/20230714174434.4054728-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/edac/synopsys_edac.c')
-rw-r--r-- | drivers/edac/synopsys_edac.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/edac/synopsys_edac.c b/drivers/edac/synopsys_edac.c index f7d37c282819..c4fc64cbecd0 100644 --- a/drivers/edac/synopsys_edac.c +++ b/drivers/edac/synopsys_edac.c @@ -11,7 +11,6 @@ #include <linux/platform_device.h> #include <linux/interrupt.h> #include <linux/of.h> -#include <linux/of_device.h> #include "edac_module.h" |