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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F7C4EB64DA for ; Wed, 19 Jul 2023 06:46:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231148AbjGSGqd (ORCPT ); Wed, 19 Jul 2023 02:46:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231149AbjGSGqc (ORCPT ); Wed, 19 Jul 2023 02:46:32 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA36C1FCD; Tue, 18 Jul 2023 23:46:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3970A61150; Wed, 19 Jul 2023 06:46:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03E02C433C7; Wed, 19 Jul 2023 06:46:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689749186; bh=l4O/JGjx+glMM+49cBtJIbHsNzJW5C3GTSW4DlNzLN4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kCCsg4/WhNDDIX2LC2TVBcNZXYJe6jWVsRwghIHQqwr/y+YBCT3l753/bgLOwUKEd 2GvKYMDaPgr8Rv4mkxrIWHKYVhMsHrXDilHoTjM0UP7dOJhAiaXRNU9h6pTR/Fvjme 5mGb8Y3ZyP7wPwccmCIq8Uz94LSRU7H7LjR6UIoVLWDQnQ99lIInIy10wcahaioGtt TaDZnhSP0tb1ObrCeBvSuJTy0YOBDlHZPL+chQXvHuLaP3iNcqTDmgNw+RH1CYiSPu +uzfnwg5ch8PuHLNj9B/xEi8TeQe2FKgGsmw4SAiXo+bzfEi5Q+PbIuJxTJF5KtlbU RWV9lc79EdTaQ== Date: Wed, 19 Jul 2023 14:46:09 +0800 From: Shawn Guo To: Rob Herring Cc: Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] soc: imx: Explicitly include correct DT includes Message-ID: <20230719064609.GF151430@dragon> References: <20230714175134.4067445-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230714175134.4067445-1-robh@kernel.org> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Fri, Jul 14, 2023 at 11:51:33AM -0600, Rob Herring wrote: > 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 Applied, thanks!