From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jernej Škrabec Date: Fri, 04 Aug 2023 21:08:19 +0200 Subject: [PATCH v2 16/23] bus: Explicitly include correct DT includes In-Reply-To: <20230803-dt-header-cleanups-for-soc-v2-16-d8de2cc88bff@kernel.org> References: <20230803-dt-header-cleanups-for-soc-v2-0-d8de2cc88bff@kernel.org> <20230803-dt-header-cleanups-for-soc-v2-16-d8de2cc88bff@kernel.org> Message-ID: <2151246.irdbgypaU6@jernej-laptop> List-Id: To: linux-aspeed@lists.ozlabs.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Dne petek, 04. avgust 2023 ob 00:42:56 CEST je Rob Herring napisal(a): > 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 > --- > drivers/bus/fsl-mc/fsl-mc-bus.c | 1 + > drivers/bus/fsl-mc/fsl-mc-msi.c | 2 -- > drivers/bus/hisi_lpc.c | 2 +- > drivers/bus/omap_l3_smx.c | 1 - > drivers/bus/simple-pm-bus.c | 2 ++ > drivers/bus/sunxi-rsb.c | 2 +- for sunxi-rsb: Acked-by: Jernej Skrabec Best regards, Jernej > drivers/bus/ti-pwmss.c | 2 +-