Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp4408836rwp; Sun, 16 Jul 2023 02:30:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlH5F8ad6p1kjkzGM+852xWyKe9D8/OLImuUxtLKCI5cM0uh2guwXxBUZBnSkr+5xsX8KLxE X-Received: by 2002:a17:90a:6ac9:b0:263:a985:abb4 with SMTP id b9-20020a17090a6ac900b00263a985abb4mr6400552pjm.0.1689499856701; Sun, 16 Jul 2023 02:30:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689499856; cv=none; d=google.com; s=arc-20160816; b=aKz7X1umtGc9nSdNgcsIyCxy1NAzflrHdMmMnoqufI2haASrZ/hUQJC3BVG5v/GCB+ ouSWdGE8uDeCze13AuodH1Duf0KPln+QaWAymW1lfN04UbrW/vdB6CWoGXla46MF7jvQ roW7v+gSL/qVndicNnlecgK+r5xhAfsoFiKCaxSUhs9HN84fwfvxNRVZG5LH4FfY6QGr WfMVFCQGPmamdoaSj+Q5Wpk1SaSBscujfAJXR6s/B5hTU3q4JsCT9KaBx411e6hKmy9t JvvKZb05RnQZXbuu0pzWph6og/oOXFk1YGzTJ8BNtdNv2TQTQviy3Ey59xvaWf9fDgV7 daBA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=TAJr9RfjXmpVJaGDPJRNgS+LUQLrLAkAk0FUDyDmUXQ=; fh=GIJ8SLA1X7a6WGxklRqngaimqTFswnkhomvjkpgtouA=; b=0cUxxQpG1D6BMf/dEGWWSHMXkaZi4cGjtWHEc06Z/m9j1e8jPV6VkPLRdqRn4tyFCF 434ofhyKflSzcIoxj80AtmigcnHiLMKxyKwZryRj+70GzqyTjWGnZlDGSPgUCpNE3jgP nEpwv3yEiB9lvi4ZGjBq+fh0q82u9PgaZAY9ziSNCAUTikNWb84AkLAWWGchHtM0A/wd evQUGnDEzsxD9VKvzfNHs3NUmrIlQX2dlGpnFtcdjIRcsT4uONmDMiNq+gcTW4maE4z7 9Ub8b1Xy3o94Kmm2uDyBdA5s0wBI//iVsS19+gjIHm9/66Wl+Qzr0BVLSBZ+St5Tiwuc nN1g== 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=sntech.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lp11-20020a17090b4a8b00b0026333ca2944si4328387pjb.17.2023.07.16.02.30.43; Sun, 16 Jul 2023 02:30:56 -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=sntech.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229471AbjGPJ0k (ORCPT + 99 others); Sun, 16 Jul 2023 05:26:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229701AbjGPJ0d (ORCPT ); Sun, 16 Jul 2023 05:26:33 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED13B10E0; Sun, 16 Jul 2023 02:26:30 -0700 (PDT) Received: from i53875a6a.versanet.de ([83.135.90.106] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qKy04-0005tq-1S; Sun, 16 Jul 2023 11:25:08 +0200 From: Heiko Stuebner To: 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 Baryshkov , Sean Paul , Marijn Suijten , Marek Vasut , Stefan Agner , Sam Ravnborg , Jerry Han , Icenowy Zheng , Ondrej Jirman , Javier Martinez Canillas , Guido =?ISO-8859-1?Q?G=FCnther?= , 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 , 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 Subject: Re: [PATCH] drm: Explicitly include correct DT includes Date: Sun, 16 Jul 2023 11:25:03 +0200 Message-ID: <114500369.nniJfEyVGO@phil> In-Reply-To: <20230714174545.4056287-1-robh@kernel.org> References: <20230714174545.4056287-1-robh@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_PASS,T_SCC_BODY_TEXT_LINE, T_SPF_HELO_TEMPERROR 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 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 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/rockchip/dw-mipi-dsi-rockchip.c b/drivers/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? Thanks Heiko