Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp3779481rwp; Sat, 15 Jul 2023 09:12:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlHMVX7mEoifMSnCf1OIXXE6Ab0TYMFL/+U/nok1BPCq/eL4Jmf0WZqVJwPfS1Qoufa5j2bf X-Received: by 2002:a17:90a:bc89:b0:262:ff1c:bc37 with SMTP id x9-20020a17090abc8900b00262ff1cbc37mr6419453pjr.2.1689437523479; Sat, 15 Jul 2023 09:12:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689437523; cv=none; d=google.com; s=arc-20160816; b=QVAcDKXcZQzcwe+fX7xaUHmr50BvByLSd5djPHmltl9mAPadZyixJ82HkYfbXA2byv jO4uvEI1QPS9SJMXlYgIqxcUw9sjHb+JcQqugT42QPP75AoKcclNWUCJvlyVI9a4L8Wf azhfmyqz9Ds8Jhq0mQjRvK69R0C9C3RlpC+U3WjAOXFUAPexhuF/UbiLxR0lJYzdojDQ re1h3LM47/w9mN5pyBkJshbqoiikeheghag/+Xrv7+lZZP08i9WnFR8CJuvLa4CplFyJ AISeV6ERvLJPI4vHoj0uUffM692scbsXjIKkpM366AHe5P6B29WDiCS7L2otwfD2t1l7 N9aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=Un+ufkhrXfZqLrVbDU6HeKyr3kcyHpaOW08JuHJOTAQ=; fh=XI/vcyduVXnUD5Z6/0IW/biUZZTcWc14DBtl0F4yfO8=; b=mhWRzv4p//uBX+QCyai7Pp6qzwENfg4kTlFAkKx1cuvKBJ5Gi634uudsm2l7bQRKFe zwe0D4OfPlfC5yzi55ZtZRB9FkgXrB52/fUWarXdVntc07AoiJrOy16QquWaDGGaYFic cvyEAvF2bA5/2tKCxETi4Gd1feVqrHIp2EYg+HI4U2ZXGHSIA/k0qRy5ONaskaMy5zoE GZLxOLMAD9E3/Nqs917cDnyaNqemWxcUDS4eqbpPaOmesP6cDixWl3sDGjh/pWIpN2eC 3i79xXE/umDbTemWjBdyXw9lJZc8G22GVaWV2sNjfUMj5N8/shoRyEBija3AkzEes+BZ xyWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=FqWexEyC; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gm9-20020a17090b100900b0025e7ff46234si3121760pjb.57.2023.07.15.09.11.50; Sat, 15 Jul 2023 09:12:03 -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=@bootlin.com header.s=gm1 header.b=FqWexEyC; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230198AbjGOPsy (ORCPT + 99 others); Sat, 15 Jul 2023 11:48:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjGOPsx (ORCPT ); Sat, 15 Jul 2023 11:48:53 -0400 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41A162729; Sat, 15 Jul 2023 08:48:52 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 713BCFF802; Sat, 15 Jul 2023 15:48:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1689436130; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Un+ufkhrXfZqLrVbDU6HeKyr3kcyHpaOW08JuHJOTAQ=; b=FqWexEyC5/ncjoaJwBj4G53wiu8VDHhDUUmjeiui8D15gl2UK0/z1/JhojGPaXb7myBHt0 +m0+8luEUYwOnP8t5sbvBF01u6wPPDP8ekc+E+xiI5dXBEOsZg27UBqN6/Cx2Ykd/d38zY Uxi4xN1DsWH3172+Q9prP3vN3AfuAUnTk0v/cqkvsBuezHKkylG8hSiaysYLY7BLSvc/OK X/4nONxCNA9EoFF0A6ADkUMqN/54fCJrQYuzSAtxsbm00dNaTjHSMLlKGNk9Pa5uVm4JDa KtHa+BsMQbwWPxRZR03AmaWLttL4j4jDIfE8mWV10b4zCsVL6+eAIvNGObilXQ== Date: Sat, 15 Jul 2023 17:48:42 +0200 From: Miquel Raynal To: Rob Herring Cc: 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 , 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 Subject: Re: [PATCH] mtd: Explicitly include correct DT includes Message-ID: <20230715174804.6fc2a4c1@xps-13> In-Reply-To: <20230714174751.4060439-1-robh@kernel.org> References: <20230714174751.4060439-1-robh@kernel.org> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: miquel.raynal@bootlin.com 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_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi Rob, robh@kernel.org wrote on Fri, 14 Jul 2023 11:47:49 -0600: > 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. was? Otherwise LGTM, I will fix it when applying. > 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. >=20 > Signed-off-by: Rob Herring Thanks, Miqu=C3=A8l