Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5313331rwp; Mon, 17 Jul 2023 01:35:40 -0700 (PDT) X-Google-Smtp-Source: APBJJlFXsYaiCKrdg2PhzHZEqk74eDLeu4tdWbOVSSVd+aefbsL0mbLR7ZEzv4M1rwngI4hQsYq9 X-Received: by 2002:a17:902:cec3:b0:1b7:e49f:1d with SMTP id d3-20020a170902cec300b001b7e49f001dmr11020898plg.62.1689582940260; Mon, 17 Jul 2023 01:35:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689582940; cv=none; d=google.com; s=arc-20160816; b=jbPdDH3X9AK/NYrM6IAladwGTZDmT3xZpsh9hoZ98eCiLwfnqK5DP8JhvA+1KGpc9n 17XiytoEzlcoAHhDsSEfmgXlIWIZcwETWgBYjScO0jC8lC6FlvwMd2LVu2vOh7DRGk6z I4b/gwfFHTm5mIUZtaT2dXtDtyC1kFa87bvMgNFLdy7SLeqdF51nZZtngWZHDwO8EEAN NQuOPr2zVPCg/Xoav8mwihzKJMYkdp1M/M1LFSu6rEP8iggyxD7AsymA/ei5rzm7wZhp v40tP4AA9c9MzqQSHY1pcEE1yWwNoU+loDIhkmhEXqSdAklm5NkN5ooYA1VnF9rm7v2I kckQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=VUJlNjEIDjAidO+uDkr3E7Nwj3rfdBDyM/JFcgnRNS0=; fh=x0UbKYZ0YYiB755Vexs5oXoFEAQSxmLQuR6OLKpe+fg=; b=MpL/YGTALi/DmPSboWaWuRuPU+FTEILeqwwxJ59p6cOzs1XvyLXoCnRFW0+l53/BGC Ovw5M/MINLdmgd9ZwaGDSTiBkJOE/mZq7piDRObbAhG2YvbaSgdqOcDMfmU/sZN2zLJh wOD4F52T17880xEZetkd7WeY6v1ZCRQgUCoAQTSN0FHNm44iFiOXen7V8YzNIxW7RNVt zrIZQZjtO2FhqC1VFklffkncfD2CRzPZt1imjFm6Vby3zzgnTY123q/WrjlMNh0F+e1e Ljuz/9Q/5ZVypsYtcNs786isbOpUilWqQ94G1P6INMh6dscLhb9nQJ1C3sqQXLyJVRtw TCIw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q12-20020a170902dacc00b001b9fb1a0465si10340137plx.385.2023.07.17.01.35.28; Mon, 17 Jul 2023 01:35:40 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231342AbjGQIUX (ORCPT + 99 others); Mon, 17 Jul 2023 04:20:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229496AbjGQIUV (ORCPT ); Mon, 17 Jul 2023 04:20:21 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 35916130; Mon, 17 Jul 2023 01:20:20 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2B87413D5; Mon, 17 Jul 2023 01:21:03 -0700 (PDT) Received: from [10.57.37.37] (unknown [10.57.37.37]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 41CB33F73F; Mon, 17 Jul 2023 01:19:59 -0700 (PDT) Message-ID: Date: Mon, 17 Jul 2023 09:19:59 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH] drm: Explicitly include correct DT includes To: Rob Herring 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, Liviu Dudau , David Airlie , Daniel Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , 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 B aryshkov , 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 , Alyssa Rosenzweig , Emma Anholt , Kieran Bingham , Sandy Huang , =?UTF-8?Q?Heiko_St=c3=bcbner?= , 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 References: <20230714174545.4056287-1-robh@kernel.org> Content-Language: en-GB From: Steven Price In-Reply-To: <20230714174545.4056287-1-robh@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,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 14/07/2023 18:45, 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 > --- [...] > diff --git a/drivers/gpu/drm/panfrost/panfrost_drv.c b/drivers/gpu/drm/panfrost/panfrost_drv.c > index bbada731bbbd..20c25c836198 100644 > --- a/drivers/gpu/drm/panfrost/panfrost_drv.c > +++ b/drivers/gpu/drm/panfrost/panfrost_drv.c > @@ -4,8 +4,9 @@ > /* Copyright 2019 Collabora ltd. */ > > #include > -#include > +#include > #include > +#include > #include > #include > #include Panfrost part: Reviewed-by: Steven Price Steve