summaryrefslogtreecommitdiffstats
path: root/drivers/leds/rgb
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-14 11:46:50 -0600
committerLee Jones <lee@kernel.org>2023-07-28 10:02:32 +0100
commit3192f141240336dd6d7675ff374757006fed1916 (patch)
tree48a096fd71b60fc5a0872cfc1701ffaf5851c1d0 /drivers/leds/rgb
parent3c19c79146e1522f52918a5d335523e48f669a1b (diff)
downloadlinux-stable-3192f141240336dd6d7675ff374757006fed1916.tar.gz
linux-stable-3192f141240336dd6d7675ff374757006fed1916.tar.bz2
linux-stable-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/rgb')
-rw-r--r--drivers/leds/rgb/leds-qcom-lpg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/rgb/leds-qcom-lpg.c b/drivers/leds/rgb/leds-qcom-lpg.c
index 59581b3e25ca..fd7676aa243d 100644
--- a/drivers/leds/rgb/leds-qcom-lpg.c
+++ b/drivers/leds/rgb/leds-qcom-lpg.c
@@ -9,7 +9,6 @@
#include <linux/led-class-multicolor.h>
#include <linux/module.h>
#include <linux/of.h>
-#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/pwm.h>
#include <linux/regmap.h>