From: Rob Herring Date: Fri, 14 Jul 2023 17:47:57 +0000 (-0600) Subject: can: Explicitly include correct DT includes X-Git-Tag: v6.6.17~4098^2~372^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22d8e8d6338d17bc192559dad24d1e45be0f9795;p=platform%2Fkernel%2Flinux-rpi.git can: 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 Link: https://lore.kernel.org/all/20230714174757.4060748-1-robh@kernel.org Signed-off-by: Marc Kleine-Budde --- diff --git a/drivers/net/can/grcan.c b/drivers/net/can/grcan.c index 3174efd..6d3ba71 100644 --- a/drivers/net/can/grcan.c +++ b/drivers/net/can/grcan.c @@ -30,8 +30,9 @@ #include #include #include +#include #include -#include +#include #include #include