Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7813438rwp; Wed, 19 Jul 2023 00:08:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlHOsltWqFgQr8FPPQQrlWyLgi4UbPFa9D+66yn92YitF9lkGQzSWA3bqOBkUEAwqJJWDnUX X-Received: by 2002:a05:6358:e4a0:b0:129:d242:f782 with SMTP id by32-20020a056358e4a000b00129d242f782mr18545276rwb.0.1689750513027; Wed, 19 Jul 2023 00:08:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689750512; cv=none; d=google.com; s=arc-20160816; b=w9mF7KHanHngp7Z0CVDcdG13bdx4myGlyHDIj3TnoQbWfkSrEtl2ugnsd8CLRl3clM +t9KIIw2Nix4wOkt9FQj4/dAelgZC7OE3Q20zCUT0i9r0OZPun0vzPPf6UKa4FTKO5mn 4+P2ZoPisuXBNub/yxiQOMyP6a2oEVp5OTULPrh2r3SjCmH8pxjyuoimhAIuaLWreMuW s/6vBxyFKS+O0k7HZ5I+QbtCoXw2ZVLvapC72qAOi1LTtcbcxFUni1DOMSgaOZjUsCFm a+Fahz9KsfaRF9ww/bNsFa6LHBW3Hh0sm66ydoYcvxY4IgVaozfwSRb8y9RPLlTc7Rt8 RoYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gpNrTekojKt6mSDzjKcbcmdHElKyWi1hRtL1DV4Hqtc=; fh=M2CijHEivPj2nHtjcNvfDMLQSc/f/IBFphWWsj8df1A=; b=GygpYrkeImQthUmjtlZtTZ8g5vM49416HoIdx9w94u6tG3FMNb22LXNWB7Q1tWkpQQ futLGLWl9nabaC7Et9aNQuKnG1OEF/Bp9E2hSSTeyuI+d3HHqlzlOY0ArU12rx4SSVmm uYJxUOtgNeu3N6ZjMI9U+CcTvGkIQdM207AlWz67bf5MFQLkSlX6s1QV0yTtCqcRmore u72gaU9kZPf8h2N2YK3i4NAEWFof6CRYlmFCpWWhUrQxPsznlhBZUVV49vNHPztLeAvQ AkUzD5mqvj3Z5ygtVwzBdO2FilbDI1G68rCqqY/TaMRveH16NXHm4US6FU1PZl8lSAWL yK/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="kCCsg4/W"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q28-20020a638c5c000000b005533f27a25csi2993156pgn.511.2023.07.19.00.08.20; Wed, 19 Jul 2023 00:08:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="kCCsg4/W"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231151AbjGSGqe (ORCPT + 99 others); Wed, 19 Jul 2023 02:46:34 -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> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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!