diff options
author | Rob Herring <robh@kernel.org> | 2023-07-14 20:46:54 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-08-28 21:36:24 +0300 |
commit | 233d687d1b78080ee79f67356327e0e0e50ef6f5 (patch) | |
tree | 7cdcb9f962d796a02fb70d99ed42f76a63a05608 /drivers/macintosh/macio_asic.c | |
parent | 32bc7297d855608fcb13af62a95739a079b4f8e2 (diff) | |
download | linux-233d687d1b78080ee79f67356327e0e0e50ef6f5.tar.xz |
macintosh: 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/20230714174654.4058898-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/macintosh/macio_asic.c')
-rw-r--r-- | drivers/macintosh/macio_asic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/macintosh/macio_asic.c b/drivers/macintosh/macio_asic.c index 211ed9aa9edc..a5ee8f736a8e 100644 --- a/drivers/macintosh/macio_asic.c +++ b/drivers/macintosh/macio_asic.c @@ -23,6 +23,7 @@ #include <linux/of.h> #include <linux/of_address.h> #include <linux/of_device.h> +#include <linux/of_platform.h> #include <linux/of_irq.h> #include <asm/machdep.h> |