From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org From: Heiko Stuebner Subject: Re: [PATCH] mtd: Explicitly include correct DT includes Date: Sat, 15 Jul 2023 23:43:06 +0200 Message-ID: <5555840.MHq7AAxBmi@phil> In-Reply-To: <20230714174751.4060439-1-robh@kernel.org> References: <20230714174751.4060439-1-robh@kernel.org> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+lwn-linux-arm-kernel=archive.lwn.net@lists.infradead.org List-Archive: To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Linus Walleij , Kyungmin Park , Han Xu , Harvey Hunt , Paul Cercueil , Liang Yang , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Matthias Brugger , AngeloGioacchino Del Regno , Michal Simek , Manivannan Sadhasivam , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Vladimir Zapolskiy , Tudor Ambarus , Pratyush Yadav , Michael Walle , Rob Herring Cc: devicetree@vger.kernel.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-sunxi@lists.linux.dev Am Freitag, 14. Juli 2023, 19:47:49 CEST schrieb Rob Herring: > 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/mtd/nand/raw/rockchip-nand-controller.c | 1 - Acked-by: Heiko Stuebner _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel