Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5794588rwp; Mon, 17 Jul 2023 09:30:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlELTDnYVLEqH/1oKxVSRaiwP0sRwMtAOriPt1S2ASm2aEqJav+WfhwjpBxlJRNpaK5tKNmX X-Received: by 2002:a05:6402:8c2:b0:51d:ece5:afd9 with SMTP id d2-20020a05640208c200b0051dece5afd9mr12536335edz.21.1689611417135; Mon, 17 Jul 2023 09:30:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689611417; cv=none; d=google.com; s=arc-20160816; b=0/XYfsLxLHPuf824KRrxqP31wTj00ZKzPiltE7bD9MsVr7BOq+WtAfQR/vMvRBWOs3 kVp/c9x6lifYd27P/T6pBH7qHXsH1l/84OHUeWl6DbepKbmxCmnhccpbphmc1Moo/F+C NCAG4N+Lkwz/+MTY0g+PGIYHvBzAFzFn+h9yHryHSJjUtGPwyCGV+cRsVIsSxIutPFru I1nG/Ml4tBATkgeVyCFpGMaFbFBxiA/i4h/I5i09bo8IyhyazpiFLJrJbsEWF28/K7BP Zu/du8/ZY9RSOPy/wjnhk7eY3+DCJOZhJ56DM2nwj0YDT6HubAJdXzuyRkS1De4zIfIo 4hUQ== 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=/FuH3NOktiZykVnmyezuy2B9XPDZAhJa8awX0qI591c=; fh=5XtX2k/Xm/GXACTwtXBPBVNetjBN9Hnu60sjhpWqTwA=; b=Mdn55Ku1pOCKtU2qJYX7E0M9b83vczhCjHXlP2QWxhLO/aYSBC6qJGMy4ZxqfjEELd mzsbKNdNfXSFYihQA/hhlBonCHTR/44Mzptpc7231Y3hc1KVnDVQR70/FzSHSsl9JVFv U8DEq4s6sJvnHC2Iu1EKJj48ZSLhTmM04FPD0IIw4UKrXwLp1gK5m8aLlpBBoa1WUco2 OpXX98JheuQrRaZqQVoisqzbA+T+qOa2bmbq3kSwZqSjqPp/O7JXMG5f9A6maVRrf2Kg va3/Or5peRJdwWnZj7pzdT59F5UzU/WlTy/grMOcvmbn7cj27siOn6NwtqFbDeo7bNab aLIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q4KER7a+; 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 p12-20020a056402074c00b0052177c077fbsi4180700edy.484.2023.07.17.09.29.52; Mon, 17 Jul 2023 09:30:17 -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=q4KER7a+; 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 S230328AbjGQPkJ (ORCPT + 99 others); Mon, 17 Jul 2023 11:40:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230305AbjGQPkH (ORCPT ); Mon, 17 Jul 2023 11:40:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3214E103 for ; Mon, 17 Jul 2023 08:40:06 -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 999E16113B for ; Mon, 17 Jul 2023 15:40:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E376CC433A9 for ; Mon, 17 Jul 2023 15:40:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689608404; bh=tF/K12dcb1AtR13XQY0pq3bgmoCAiVfZHpGq03H1+sk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=q4KER7a+f1oMRIEffUJKvg6dZFlTmOyBMPRSBcKmepKAxxSTdCR29pxjstsl6Vfyc CazoNl3mrmYEBGvyZnhfcSM3BNdv0OLnQCT9F76fpfHNrpkLmPr18EVIBq1NtesWYK mXMe09NhywuVwpCJVwbQ/2f8vuiDDhY0YVE97fR1RIcXmdJtSbjb+paTArX/KwlnMZ +RMtQnZRoFPqFtj7imcr8D7Pmi3s+fNO5xh3BuQypghh23k3nOoF1yEq5cnfw0Mp9L kxN+PcpeA+ml5bPhvrVLmqLngxd9f9SpfyujJh5WglFdbFaLt3IokAJ5KznR+WjsQc CmXzJUml5PpOQ== Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-1b0748bc78dso3632421fac.0 for ; Mon, 17 Jul 2023 08:40:04 -0700 (PDT) X-Gm-Message-State: ABy/qLai5dc279A6KG+1I86rS4SELRGFyPzxd/LfzU36+2jX9lZrxWeT ricLwEZipCbt2ARHVA91yb1D5aMw3hs77BJmK06gTg== X-Received: by 2002:a17:90b:1095:b0:263:3567:f99 with SMTP id gj21-20020a17090b109500b0026335670f99mr13011407pjb.15.1689608384033; Mon, 17 Jul 2023 08:39:44 -0700 (PDT) MIME-Version: 1.0 References: <20230714174545.4056287-1-robh@kernel.org> <114500369.nniJfEyVGO@phil> In-Reply-To: From: Robert Foss Date: Mon, 17 Jul 2023 17:39:32 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] drm: Explicitly include correct DT includes To: Rob Herring Cc: Heiko Stuebner , Liviu Dudau , David Airlie , Daniel Vetter , Andrzej Hajda , Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Jagan Teki , Liu Ying , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Inki Dae , Marek Szyprowski , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Lucas Stach , Russell King , Christian Gmeiner , Seung-Woo Kim , Kyungmin Park , Krzysztof Kozlowski , Alim Akhtar , Xinliang Liu , Tian Tao , Xinwei Kong , Sumit Semwal , Yongqin Liu , John Stultz , Laurentiu Palcu , Paul Cercueil , Qiang Yu , Paul Kocialkowski , Linus Walleij , Chun-Kuang Hu , Philipp Zabel , Matthias Brugger , AngeloGioacchino Del Regno , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , Marek Vasut , Stefan Agner , Sam Ravnborg , Jerry Han , Icenowy Zheng , Ondrej Jirman , Javier Martinez Canillas , =?UTF-8?Q?Guido_G=C3=BCnther?= , Purism Kernel Team , Jianhua Lu , Florian Fainelli , Broadcom internal kernel review list , Artur Weber , Tomeu Vizoso , Steven Price , Alyssa Rosenzweig , Emma Anholt , Kieran Bingham , Sandy Huang , Orson Zhai , Baolin Wang , Chunyan Zhang , Alain Volmat , Yannick Fertre , Raphael Gallais-Pou , Philippe Cornu , Maxime Coquelin , Alexandre Torgue , Chen-Yu Tsai , Samuel Holland , Thierry Reding , Mikko Perttunen , Jonathan Hunter , Jyri Sarha , Tomi Valkeinen , Oleksandr Andrushchenko , devicetree@vger.kernel.org, Ondrej Jirman , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, etnaviv@lists.freedesktop.org, linux-samsung-soc@vger.kernel.org, linux-mips@vger.kernel.org, lima@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, linux-rpi-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-sunxi@lists.linux.dev, linux-tegra@vger.kernel.org, xen-devel@lists.xenproject.org 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,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=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 Mon, Jul 17, 2023 at 4:27=E2=80=AFPM Rob Herring wrote= : > > On Sun, Jul 16, 2023 at 3:26=E2=80=AFAM Heiko Stuebner = wrote: > > > > Am Freitag, 14. Juli 2023, 19:45:34 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 bu= s. > > > 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 incl= ude > > > files used throughout the tree. In order to detangle these headers an= d > > > replace the implicit includes with struct declarations, users need to > > > explicitly include the correct includes. > > > > > > Signed-off-by: Rob Herring > > > --- > > > > [...] > > > > > diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c b/driver= s/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c > > > index 917e79951aac..2744d8f4a6fa 100644 > > > --- a/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c > > > +++ b/drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c > > > @@ -12,7 +12,9 @@ > > > #include > > > #include > > > #include > > > +#include > > > #include > > > +#include > > > #include > > > #include > > > > I'm not sure if I'm just misreading something, but in all other places > > of_device.h gets removed while here is stays as an include. Is this > > correct this way? > > Yes, because of_match_device() is used. > > Rob > For drivers/gpu/drm/bridge/ Acked-by: Robert Foss