From patchwork Thu Aug 3 22:42:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 1817645 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org (client-ip=112.213.38.117; helo=lists.ozlabs.org; envelope-from=linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=OnxiH+r6; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RK5Mc4Fmjz1yYl for ; Mon, 7 Aug 2023 16:02:52 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=OnxiH+r6; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4RK5Mc3DHNz2ygw for ; Mon, 7 Aug 2023 16:02:52 +1000 (AEST) X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=OnxiH+r6; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=139.178.84.217; helo=dfw.source.kernel.org; envelope-from=robh@kernel.org; receiver=lists.ozlabs.org) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (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 lists.ozlabs.org (Postfix) with ESMTPS id 4RH3mp3qL8z3c3X; Fri, 4 Aug 2023 08:44:10 +1000 (AEST) 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 DB04561EF5; Thu, 3 Aug 2023 22:44:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A2DCC433D9; Thu, 3 Aug 2023 22:44:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691102648; bh=H8pqI5s65lMZXMa8xBbLSd7Xys6J5PD9JaeW5131YMY=; h=From:Date:Subject:References:In-Reply-To:List-Id:To:Cc:From; b=OnxiH+r6Csjugo6D4bUq0YDPfcmUsB0TM2Qt+8D3el0XstiZc1NNSzuKA2x6THG83 gSEWoRHnEg0Yz8ozfzWSvD2EBmj6RDmbIPKVCwJ24u2iDsu7LcOGIN42r2EQ++M3ho 9ilbi0IJ1CkInEkseyKdT74NlrEV6lJ0Zch0akO5k6moseMyuAMm/dX/ElZhRW0A4v iYk3kVZ/CR20lTGMYYJmMTPpz7yXUvkLtpJZFLrb1HwfuVaSg+YyFiKQkgfFHLNEdU BrfuskxESEhpjDDHcIGOfFf2x/cgLNGqUbBFCMZlcxVRbTioCh4J81iawgG1WkIHjp p43a9Gw6nNqHg== Received: (nullmailer pid 3693780 invoked by uid 1000); Thu, 03 Aug 2023 22:42:55 -0000 From: Rob Herring Date: Thu, 03 Aug 2023 16:42:55 -0600 Subject: [PATCH v2 15/23] ARM: spear: Explicitly include correct DT includes MIME-Version: 1.0 Message-Id: <20230803-dt-header-cleanups-for-soc-v2-15-d8de2cc88bff@kernel.org> References: <20230803-dt-header-cleanups-for-soc-v2-0-d8de2cc88bff@kernel.org> In-Reply-To: <20230803-dt-header-cleanups-for-soc-v2-0-d8de2cc88bff@kernel.org> To: soc@kernel.org, Patrice Chotard , Tsahee Zidenberg , Antoine Tenart , Jisheng Zhang , Sebastian Hesselbarth , Andrew Lunn , Gregory Clement , Jean-Marie Verdun , Nick Hawkins , Lubomir Rintel , Linus Walleij , Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Heiko Stuebner , Liviu Dudau , Sudeep Holla , Lorenzo Pieralisi , Viresh Kumar , Shiraz Has him , Stuart Yoder , Laurentiu Tudor , Jay Fang , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Cristian Marussi , Shawn Guo , Sascha Hauer , Fabio Estevam , Matthias Brugger , AngeloGioacchino Del Regno , Florian Fainelli , Dinh Nguyen , Thierry Reding , Jonathan Hunter , Michal Simek , Joel Stanley , Andrew Jeffery , Ulf Hansson , Li Yang , Qiang Zhao X-Mailer: b4 0.13-dev X-Mailman-Approved-At: Mon, 07 Aug 2023 16:01:51 +1000 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-aspeed@lists.ozlabs.org, linux-pm@vger.kernel.org, Viresh Kumar , openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-arm-kernel@lists.infradead.org Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it was 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. Acked-by: Viresh Kumar Signed-off-by: Rob Herring --- arch/arm/mach-spear/spear1340.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-spear/spear1340.c b/arch/arm/mach-spear/spear1340.c index a391f154eff9..70986ef6c877 100644 --- a/arch/arm/mach-spear/spear1340.c +++ b/arch/arm/mach-spear/spear1340.c @@ -10,7 +10,7 @@ #define pr_fmt(fmt) "SPEAr1340: " fmt -#include +#include #include #include "generic.h"