Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5466311rwp; Mon, 17 Jul 2023 04:51:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlHl8jJQ3v9BLDB9K1+TG0syh4yGC5rwuPH5ElZVtNrk6pzuqpB2ALqB0jc0eRC6m6ACU2W0 X-Received: by 2002:a17:907:7709:b0:992:91ce:4509 with SMTP id kw9-20020a170907770900b0099291ce4509mr9077157ejc.57.1689594701943; Mon, 17 Jul 2023 04:51:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689594701; cv=none; d=google.com; s=arc-20160816; b=H4794FmeSASuir/EdhcIWpsU3nDZR+5PtmDq8uqYyEQ7sR8f2DJIz2wxqpeVvyEqnR wA9Djd4pfBYkQ/kiLNbgOB8NThxzCYDNeQ5X4PKECbC5I/hWe1sGMMDSr8boTVeePoMQ 9qdIkuudgEN4KiBV0aUDzmF7vJtdBH2L2gus818tk6TgHEe0manPGBMOyJcAOznvDb0o yX3+LmN77WxS8WSrURSPxx5yoVcENJ1JscmQMtEI5ZnLY5+hD3KPNX+2+AXFc1+E1umC 3EL+lq4A5SCAkUyCXc2VAxNhRu3Z3JxubA4NS0UP5ZE1oAr+rabSwhKyQkkimrG3x5Ya gq0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=FfDMHmVarCl3o6ip3fUCGhFnD5CVX6BWUfIFY3z1eFw=; fh=UzLFb8ZN627ku6FiMCWrN0jBCiexMEJvGgYB2JYt3LY=; b=f+ko/Tx793XJs6hk+7YU6VSZQ/7Uv15RpJJN6FwaokrDRtUEuE6S1ltra7D2LwK8q0 GPTdQpqmjVpPTCJK5t6iU6JqkE3ExzPu0F+e24jYi+9yWyRxLXWgvNUZoAH4PCA/Rvzl BWnJ/TCF17Pkx2qgouls/FMgqC364PKQVM4hse8kKyALbpUCr5CANVnhSONyruRPX+xG +0YSoUvrG6VhgVsVGh3nP5T1Z37iNqVAKFb3KpPOA5Z3tOtdVYU/c4E6mi1LoWHUviqN rsULDUswdCo3EIax6xRLn80VfT0fc2+Su2QBgjwxy0pQAOvo7B5c4f9OjeFfPNLtaEc6 sAQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@ideasonboard.com header.s=mail header.b=D34b2nk3; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ja12-20020a170907988c00b00992a8a54f2fsi14212891ejc.368.2023.07.17.04.51.18; Mon, 17 Jul 2023 04:51:41 -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=fail (test mode) header.i=@ideasonboard.com header.s=mail header.b=D34b2nk3; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230160AbjGQLgK (ORCPT + 99 others); Mon, 17 Jul 2023 07:36:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjGQLgI (ORCPT ); Mon, 17 Jul 2023 07:36:08 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95D92E4C; Mon, 17 Jul 2023 04:36:07 -0700 (PDT) Received: from pendragon.ideasonboard.com (aztw-30-b2-v4wan-166917-cust845.vm26.cable.virginm.net [82.37.23.78]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id AC0DD16C4; Mon, 17 Jul 2023 13:35:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1689593710; bh=Q3mYfdnpaLKlY8/jxmRm80QstU9e0PZzEci91ZZE1j4=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=D34b2nk3MBeIsD4Hh9go1cz7KYgQfaVb0QwyTeWrvQudhj3fcvsR86k18n5c2Eh/a 11cp7FnDEwboNqdfvQSni7J+NuSf4nawSesO0QfLQ1Tb/Qq/1vhrC/00e2IYaQomU7 muczhfhcRx636pqbzTWg6NH753X76UJuCpEmbpUo= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20230714174545.4056287-1-robh@kernel.org> References: <20230714174545.4056287-1-robh@kernel.org> Subject: Re: [PATCH] drm: Explicitly include correct DT includes From: Kieran Bingham Cc: 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 To: Abhinav Kumar , Alain Volmat , Alexandre Torgue , Alim Akhtar , Alyssa Rosenzweig , Andrzej Hajda , AngeloGioacchino Del Regno , Artur Weber , Baolin Wang , Broadcom internal kernel review list , Chen-Yu Tsai , Christian Gmeiner , Chun-Kuang Hu , Chunyan Zhang , Daniel Vetter , David Airlie , Dmitry Baryshkov , Emma Anholt , Fabio Estevam , Florian Fainelli , Guido =?utf-8?q?G=C3=BCnther?= , Heiko =?utf-8?q?St=C3=BCbner?= , Icenow y Zheng , Inki Dae , Jagan Teki , Javier Martinez Canillas , Jernej Skrabec , Jerome Brunet , Jerry Han , Jianhua Lu , John Stultz , Jonas Karlman , Jonathan Hunter , Jyri Sarha , Kevin Hilman , Krzysztof Kozlowski , Kyungmin Park , Laurent Pinchart , Laurentiu Palcu , Linus Walleij , Liu Ying , Liviu Dudau , Lucas Stach , Maarten Lankhorst , Marek Szyprowski , Marek Vasut , Marijn Suijten , Martin Blumenstingl , Matthias Brugger , Maxime Coquelin , Maxime Ripard , Mikko Perttunen , NXP Linux Team , Neil Armstrong , Oleksandr Andrushchenko , Ondrej Jirman , Orson Zhai , Paul Cercueil , Paul Kocialkowski , Pengutronix Kernel Team , Philipp Zabel , Philippe Cornu , Purism Kernel Team , Qiang Yu , Raphael Gallais-Pou , Rob Clark , Rob Herring , Robert Foss , Russell King , Sam Ravnborg , Samuel Holland , Sandy Huang , Sascha Hauer , Sean Paul , Seung-Woo Kim , Shawn Guo , Stefan Agner , Steven Price , Sumit Semwal , Thierry Reding , Thomas Zimmermann , Tian Tao , Tomeu Vizoso , Tomi Valkeinen , Xinliang Liu , Xinwei Kong , Yannick Fertre , Yongqin Liu Date: Mon, 17 Jul 2023 12:35:59 +0100 Message-ID: <168959375926.3515353.7529038208688306372@Monstersaurus> User-Agent: alot/0.10 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no 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 Quoting Rob Herring (2023-07-14 18:45:34) > 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. >=20 > Signed-off-by: Rob Herring > drivers/gpu/drm/renesas/rcar-du/rcar_du_drv.c | 2 +- > drivers/gpu/drm/renesas/rcar-du/rcar_du_kms.c | 2 ++ > drivers/gpu/drm/renesas/rcar-du/rcar_du_vsp.c | 1 + > drivers/gpu/drm/renesas/rcar-du/rcar_mipi_dsi.c | 1 - > drivers/gpu/drm/renesas/rcar-du/rzg2l_mipi_dsi.c | 1 - For drivers/gpu/drm/renesas/rcar-du/ > diff --git a/drivers/gpu/drm/renesas/rcar-du/rcar_du_drv.c b/drivers/gpu/= drm/renesas/rcar-du/rcar_du_drv.c > index 1ffde19cb87f..3904b0cca814 100644 > --- a/drivers/gpu/drm/renesas/rcar-du/rcar_du_drv.c > +++ b/drivers/gpu/drm/renesas/rcar-du/rcar_du_drv.c > @@ -12,7 +12,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > diff --git a/drivers/gpu/drm/renesas/rcar-du/rcar_du_kms.c b/drivers/gpu/= drm/renesas/rcar-du/rcar_du_kms.c > index adfb36b0e815..9ff4537c26c8 100644 > --- a/drivers/gpu/drm/renesas/rcar-du/rcar_du_kms.c > +++ b/drivers/gpu/drm/renesas/rcar-du/rcar_du_kms.c > @@ -20,8 +20,10 @@ > =20 > #include > #include > +#include > #include > #include > +#include > #include > =20 > #include "rcar_du_crtc.h" > diff --git a/drivers/gpu/drm/renesas/rcar-du/rcar_du_vsp.c b/drivers/gpu/= drm/renesas/rcar-du/rcar_du_vsp.c > index 45c05d0ffc70..9cbb5e6e2cba 100644 > --- a/drivers/gpu/drm/renesas/rcar-du/rcar_du_vsp.c > +++ b/drivers/gpu/drm/renesas/rcar-du/rcar_du_vsp.c > @@ -22,6 +22,7 @@ > #include > #include > #include > +#include > #include > #include > #include > diff --git a/drivers/gpu/drm/renesas/rcar-du/rcar_mipi_dsi.c b/drivers/gp= u/drm/renesas/rcar-du/rcar_mipi_dsi.c > index e10e4d4b89a2..db2e6f16f954 100644 > --- a/drivers/gpu/drm/renesas/rcar-du/rcar_mipi_dsi.c > +++ b/drivers/gpu/drm/renesas/rcar-du/rcar_mipi_dsi.c > @@ -12,7 +12,6 @@ > #include > #include > #include > -#include > #include > #include > #include > diff --git a/drivers/gpu/drm/renesas/rcar-du/rzg2l_mipi_dsi.c b/drivers/g= pu/drm/renesas/rcar-du/rzg2l_mipi_dsi.c > index aa95b85a2964..8048bdca2d6c 100644 > --- a/drivers/gpu/drm/renesas/rcar-du/rzg2l_mipi_dsi.c > +++ b/drivers/gpu/drm/renesas/rcar-du/rzg2l_mipi_dsi.c > @@ -10,7 +10,6 @@ > #include > #include > #include > -#include > #include > #include > #include Reviewed-by: Kieran Bingham