From patchwork Mon Jul 17 22:53:58 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: 13318560 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BE0E1EB64DA for ; Wed, 19 Jul 2023 08:20:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=VrcqwsDptcA9MqRcz6/5HS1e4VE7YWViWFKAfplV9Ss=; b=0TU47pHlmapbvt pSldaJV6Ed21KDc7+1apA27VhYbNcAjZGo3rJMQ0rTl9EUDNa2ZiNLukaExe8CQXqA5kfn9Xr34SI rasCzbKVRiZ6+PSWhxorvkDj/dEJNRL3ENwNsjHyRzLoiZg/gnla5dnbaZuUxKPkTDUrbIjM2d59g Hapbts2WJYa4XJUETbDUQ475n8e1CTMKpQ21fXALffbi01paSyEVxluuqLgiJMZZ++Osx3IbV91TP ta1ERdFSohK/RbUrquaJjWapaKinpxQGE5WZHV/GSD0INqfrQUR3ILA+vhlxGjwy3YXRgPcArtPZn jKtO/bz4vyQJbcM26G6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qM2QG-006Ijt-1k; Wed, 19 Jul 2023 08:20:36 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qM2QF-006Iio-18 for linux-arm-kernel@bombadil.infradead.org; Wed, 19 Jul 2023 08:20:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=+F2l9xCRBrtLYdq2ePdPq+Mm7/43+HSyxtRn+xacLDY=; b=Qt6YkT+c8uJk3i8reGTPJZZGC1 Eqon3AWVs5LFs1/Z6Y7VYrWLvkeDaOVtA4BRgLf/4trEVM0GmgZObxEAPkH1QlTMQoCR8bjAmodqc LCkzw47mk3IXqCpqPb97188rhgu1c+E2qf22uhirT74qKAZv9/DhVuMdyWpkeZ7wBD5yyy5Mg9tVj 24KZSomy9vK+NSk8Vcz62ZV0gxlFqgHi55STbjq6Se+6HrE6/CN2Hn4EMM2J5FqN724HRe+bL/Eyt uJJiytP4kBDDY2IF/T3W1DannU20V++ZBw1r+GQSdpH/8YPbDAbadJhPOqWGE4oabdXsoniIBmrCS 6kSn3F3w==; Received: from dfw.source.kernel.org ([139.178.84.217]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qLXGj-009RHR-14 for linux-arm-kernel@lists.infradead.org; Mon, 17 Jul 2023 23:07:31 +0000 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 5173C612FD; Mon, 17 Jul 2023 23:00:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68024C433C8; Mon, 17 Jul 2023 23:00:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689634812; bh=MEiv1XO5K8mi2ZdTkf/xnwnFqxVhWUJFvFcGHpWtU+4=; h=From:To:Cc:Subject:Date:From; b=LADelvwcPBbRFhDqogEGDousdIMe4Gy/YLiiXw7lbd9i5jfMdvDxcDF59nJeVcX+j iZqSQ9KU9t8fiQHXLcH0hxMPV7fOJwbv/XAMrZexIYUkCf0nHxuox6De1eH6Jf1Wdm MHGsS2j3olh/b1SDVUvYf96tJ+O9qjict5JpjJM//YVqgI7HhK7BYFcLFTYqljzLZk /v03AUZskMrWeHHTSCubWLImMwS+21vbDY3YuTC4tr5wD7yAA3zijiF6Y3ymCJmuij 6HvR5PzBD6P1s0QbVPqnbgn2qu6T1Gm0H8mUy6tHgidw/eyLVNP2mUnF6CfVi1NqGb e1mvEOe6fAFqQ== Received: (nullmailer pid 3210866 invoked by uid 1000); Mon, 17 Jul 2023 22:54:11 -0000 From: Rob Herring To: Russell King , Michal Simek Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: zynq: Explicitly include correct DT includes Date: Mon, 17 Jul 2023 16:53:58 -0600 Message-Id: <20230717225358.3210536-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230718_000729_627551_93F9624C X-CRM114-Status: GOOD ( 13.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. Signed-off-by: Rob Herring --- arch/arm/mach-zynq/pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-zynq/pm.c b/arch/arm/mach-zynq/pm.c index 8ba450ab559c..61ad965ef3ac 100644 --- a/arch/arm/mach-zynq/pm.c +++ b/arch/arm/mach-zynq/pm.c @@ -8,8 +8,8 @@ */ #include +#include #include -#include #include "common.h" /* register offsets */