Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp3907596rwp; Sat, 15 Jul 2023 11:54:39 -0700 (PDT) X-Google-Smtp-Source: APBJJlHO9nYvAty+n5vW31rs1H5nS0CSTwh/CKsUnu+xha5qKtoiWxDTzFv1YDgwpdDXa8VzY59u X-Received: by 2002:a05:6a00:8d3:b0:677:bb4c:c321 with SMTP id s19-20020a056a0008d300b00677bb4cc321mr3894096pfu.0.1689447278819; Sat, 15 Jul 2023 11:54:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689447278; cv=none; d=google.com; s=arc-20160816; b=0TMpVcebsQcJOOaxhfDwHyupNXCZijImv+EcxfbjAAaeWgHqnnntXcZkgjbevKdUbh q0FF7BKge4PBjLXNmcANnhjZh07Ag/oQxnfBgKof6kTI8czDT0YZqYwmjI1MT7l4u4bR Qc7qh2tineG8KnEdaCBAHqFpA7JC2/5JTS9Z4QOcSdZMJ3wqqgEjXukXqceGJKE23jHI Zp5d10xDgQwn9LpBE/dnrFJ+ydM6gjJ8TIGTltXcYaSioIgcyauziqNRIV5rB53Ty3i9 43olxd8PpfplgbwouRmgFxyNgWtJYXB/OZvi1xmDot986OHSH7dOV8IZMd8AtG9nTqY8 nCPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=MWfuaj908ezvTCArkn3iKuZY57pS5DEGCvs818aKT1g=; fh=ekFUN+p1itYnTuYsXhFNJsAXQNjrh9WG/W5I4F8O0TQ=; b=WcDA0yyAFxjEsf8FbNRS46PhseSrzq4/Ub3kwksDcu7xkfBNEfyNDI7iuMzl6oFYwY 1/RHE9nltCJ6lJpSa6t45GYxdiE+3v1h0VXPDvVjewXRi/AxObCtLXLo34z83J6nJLz5 t+jYzJhjrFOIE/Z08fmr+v6G1VqEg6l9ejit7g7Hg9Lv5urD600AaIQxsvMufcbAlvyL XniCtIhwwHjvDVK72UKlSFRxd2ArsdCYNnxqB4aVfTmuKDGDC/lg6tDMSXTBP8nHjfSX M8sV1Jbwnxi3pKpLv8CNzPWI06jR0Y0lsZ2CcvKYdc9LHm5RyCoV2wKDQUj9e5x1S5J4 mfRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="hXFWx/7V"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y9-20020a056a00190900b0066871b54e15si9115276pfi.359.2023.07.15.11.54.19; Sat, 15 Jul 2023 11:54:38 -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=@linaro.org header.s=google header.b="hXFWx/7V"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229680AbjGOR5T (ORCPT + 99 others); Sat, 15 Jul 2023 13:57:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230027AbjGOR5S (ORCPT ); Sat, 15 Jul 2023 13:57:18 -0400 Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5E221FC0 for ; Sat, 15 Jul 2023 10:57:16 -0700 (PDT) Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-57012b2973eso29289237b3.2 for ; Sat, 15 Jul 2023 10:57:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689443836; x=1692035836; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=MWfuaj908ezvTCArkn3iKuZY57pS5DEGCvs818aKT1g=; b=hXFWx/7V2ilUSpF3voEEHL3miMi68ZScjxXTYKsraLjLXai5wQQF4WPMOEwKknT73Z TosQJPQ0jcS9mV4PZ/Hrjat87xHfW1QZJJvKse42oBPzZB+EGbp2N3i5id7JTxjUsgtN WDL0fBXFgAJ7IwzYFb0eaIrxQI4wqfHa1Tk5UXF4g6QhSgtnbN6HAd5LXyrsoH093BeZ dnzHSgUdn7weBlTbCB7MsfNkTRHFyDdDqy3vayXALCvXkwp2xHLINAeKis0MHStT3gGB zSRQipZgpEoUedpY9iX8KSuraRlyBWdrTzGFZ/p6RBKPRCTekMb8kbzZG2seChNlsEGP QXtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689443836; x=1692035836; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MWfuaj908ezvTCArkn3iKuZY57pS5DEGCvs818aKT1g=; b=dpA8NFhrwYDkSa3mo2sxtt9wvlP2z+pcuP5smxmdAeYVHv64QlNI2irCRW7mDLD0EO NNXgdnzYJUphiFtiUdYgj4yOAk+2OWULjE3sqTezj3vOggTpNRsplOyRegqQxw3DiIWU zzvzyngfKIXny32YmUgK/3oNqOJXmL/fj6Gct6BBQqCNF5dmvjFtQYmXPGDRfxeeDoPu UOOlkq9QO/HPM3UkOxVGtJR4ZGXFqnoItyNPl3RGCoImyjLoZA7rtGXAVjqGufPVSsnc ZFKMRzvqYG7jhxc/p3Xm+fu92gyJPAlzhIPrvRAbu89CZ2mtzxghnabnW4Uylyx8afTh 9H9w== X-Gm-Message-State: ABy/qLYoIiCPDAyArd+1B8dbnxWVgOoPaMFC7Tyfj1WhvCsBiE3SoA1W eCu00XGiEwevWM62pj9heTvz4cDp7MpdBY9x6eG8Dg== X-Received: by 2002:a81:4ec2:0:b0:573:cacd:3b6e with SMTP id c185-20020a814ec2000000b00573cacd3b6emr7407493ywb.30.1689443836031; Sat, 15 Jul 2023 10:57:16 -0700 (PDT) MIME-Version: 1.0 References: <20230714174751.4060439-1-robh@kernel.org> In-Reply-To: <20230714174751.4060439-1-robh@kernel.org> From: Linus Walleij Date: Sat, 15 Jul 2023 19:57:04 +0200 Message-ID: Subject: Re: [PATCH] mtd: Explicitly include correct DT includes To: Rob Herring Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , 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 , Heiko Stuebner , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Vladimir Zapolskiy , Tudor Ambarus , Pratyush Yadav , Michael Walle , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 7:48=E2=80=AFPM 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 Thanks for going back and fixing up this! Reviewed-by: Linus Walleij Yours, Linus Walleij