summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/qca
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-24 23:18:58 +0200
committerJakub Kicinski <kuba@kernel.org>2023-07-27 06:54:16 +0200
commitf44a90104ee5aceaf39b5a10787ab34c46c987ba (patch)
tree7fe93b2d4fa60111bfa80195bd514fca876a4f71 /drivers/net/dsa/qca
parentMerge branch 'mlxsw-speed-up-transceiver-module-eeprom-dump' (diff)
downloadlinux-f44a90104ee5aceaf39b5a10787ab34c46c987ba.tar.xz
linux-f44a90104ee5aceaf39b5a10787ab34c46c987ba.zip
net: dsa: 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> Reviewed-by: Simon Horman <simon.horman@corigine.com> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://lore.kernel.org/r/20230724211859.805481-1-robh@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/qca')
-rw-r--r--drivers/net/dsa/qca/qca8k-leds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/qca/qca8k-leds.c b/drivers/net/dsa/qca/qca8k-leds.c
index 1261e0bb21ef..e8c16e76e34b 100644
--- a/drivers/net/dsa/qca/qca8k-leds.c
+++ b/drivers/net/dsa/qca/qca8k-leds.c
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: GPL-2.0
+#include <linux/property.h>
#include <linux/regmap.h>
#include <net/dsa.h>