summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/sja1000
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-24 15:18:40 -0600
committerMarc Kleine-Budde <mkl@pengutronix.de>2023-07-28 08:49:52 +0200
commit07382e6b68a742f18d57a27fec5fd0c2b0b61b40 (patch)
tree18f95d96d36ddc8d8a24a2f4c7c18ee11521ed70 /drivers/net/can/sja1000
parentf131a03de641585669f8d7857dcfeadee6390865 (diff)
downloadlinux-stable-07382e6b68a742f18d57a27fec5fd0c2b0b61b40.tar.gz
linux-stable-07382e6b68a742f18d57a27fec5fd0c2b0b61b40.tar.bz2
linux-stable-07382e6b68a742f18d57a27fec5fd0c2b0b61b40.zip
can: Explicitly include correct DT includes, part 2
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/all/20230724211841.805053-1-robh@kernel.org Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/sja1000')
-rw-r--r--drivers/net/can/sja1000/sja1000_platform.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/can/sja1000/sja1000_platform.c b/drivers/net/can/sja1000/sja1000_platform.c
index 4e59952c66d4..33f0e46ab1c2 100644
--- a/drivers/net/can/sja1000/sja1000_platform.c
+++ b/drivers/net/can/sja1000/sja1000_platform.c
@@ -17,7 +17,6 @@
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/of.h>
-#include <linux/of_device.h>
#include "sja1000.h"