diff options
author | Rob Herring <robh@kernel.org> | 2023-07-14 11:46:50 -0600 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-07-28 10:02:32 +0100 |
commit | 3192f141240336dd6d7675ff374757006fed1916 (patch) | |
tree | 48a096fd71b60fc5a0872cfc1701ffaf5851c1d0 /drivers/leds/leds-mlxreg.c | |
parent | 3c19c79146e1522f52918a5d335523e48f669a1b (diff) | |
download | linux-3192f141240336dd6d7675ff374757006fed1916.tar.gz linux-3192f141240336dd6d7675ff374757006fed1916.tar.bz2 linux-3192f141240336dd6d7675ff374757006fed1916.zip |
leds: 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>
Link: https://lore.kernel.org/r/20230714174651.4058753-1-robh@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/leds/leds-mlxreg.c')
-rw-r--r-- | drivers/leds/leds-mlxreg.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/leds-mlxreg.c b/drivers/leds/leds-mlxreg.c index b7855c93bd72..39210653acf7 100644 --- a/drivers/leds/leds-mlxreg.c +++ b/drivers/leds/leds-mlxreg.c @@ -8,7 +8,6 @@ #include <linux/io.h> #include <linux/leds.h> #include <linux/module.h> -#include <linux/of_device.h> #include <linux/platform_data/mlxreg.h> #include <linux/platform_device.h> #include <linux/regmap.h> |