summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-ti-lmu-common.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-14 20:46:50 +0300
committerLee Jones <lee@kernel.org>2023-07-28 12:02:32 +0300
commit3192f141240336dd6d7675ff374757006fed1916 (patch)
tree48a096fd71b60fc5a0872cfc1701ffaf5851c1d0 /drivers/leds/leds-ti-lmu-common.c
parent3c19c79146e1522f52918a5d335523e48f669a1b (diff)
downloadlinux-3192f141240336dd6d7675ff374757006fed1916.tar.xz
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-ti-lmu-common.c')
-rw-r--r--drivers/leds/leds-ti-lmu-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-ti-lmu-common.c b/drivers/leds/leds-ti-lmu-common.c
index d7f10ad721ba..b2491666b5dc 100644
--- a/drivers/leds/leds-ti-lmu-common.c
+++ b/drivers/leds/leds-ti-lmu-common.c
@@ -7,7 +7,7 @@
#include <linux/bitops.h>
#include <linux/err.h>
-#include <linux/of_device.h>
+#include <linux/property.h>
#include <linux/leds-ti-lmu-common.h>