From patchwork Mon Jul 17 22:54:56 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: 13318259 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 F1475C001DC for ; Wed, 19 Jul 2023 05:57:14 +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=Zjw73nVOmJ9NuOOF/dgp6QTLutAvVOY/AQK0c2i/Fss=; b=J6mRUFbNGq2+XS Dgevx+0bRSelmNQUNQBpBOxboxD74uUzc5DQPwk+0C88UASHHLkwb+H1sU+mfuSN1E3yIWjWDKucB 9WDj072tui71beZ1KzO2VablbKi31rRMFtIiKPWfExm8xe3ddmKGMOX8A4IjaYQoEvGkbNUqteG3M eCX4Qhn+JuOLytZLTcpi1xozQ/QZpyeKlOErV0u793Bt593SQ9/xdVYgd+Xbzr6f9iO8HvBChUXFX synjhkTAErz7CaW0HcYGbzGlrtEu5VlKwU1eqLhLoK/7O/4ulMC1wzfDNjZpdxvl9+m+t7kp09VUd n+eLSMz/FhNBp2V7I3jA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qM0BE-005TII-1G; Wed, 19 Jul 2023 05:56:56 +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 1qM0B5-005TD5-0R for linux-arm-kernel@bombadil.infradead.org; Wed, 19 Jul 2023 05:56:47 +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=0bu+l3CJQrToETWCbM2zLn21chePALBMffAUIgT8ryk=; b=ILe0MtXKAl4Nkrij+OiL/lD3nG 26Bl83tByeVV+hj0QLvuD5c2EXfDSuuQxpD8r75M7bIzS+MCczQx7XePL73JD98GCMoeISRwoHjp4 b3+KzJCL6ZcYmgDmUGBx9nAF3Xma/0I+D2cRwR+lHfcm1A54tWjenwTyqAkUugpMJPdwrU1v2s5Dm 1JLCis9IsY0sptoiDKSFht6xb5aqa8IhcjByQxgDyBVARl0evATYCUIIeswPSW3nNUxFwZmLg5szq XpVtsJfo4pbVTZuxiCAKiGy0dFuWZBow/pXFBAshqS/hPKRv4y5kCduWvSUGjvbtlfgcZgmoo5AJQ u0WqPtFA==; Received: from dfw.source.kernel.org ([139.178.84.217]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qLXC1-009R7U-1D for linux-arm-kernel@lists.infradead.org; Mon, 17 Jul 2023 23:02:08 +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 4476A612F0; Mon, 17 Jul 2023 22:58:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43B99C433C7; Mon, 17 Jul 2023 22:58:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689634721; bh=zoQDrQx6VA0Kzn37i4rBJiv4CQt7POFa0ThlQ9tICnE=; h=From:To:Cc:Subject:Date:From; b=GFMEVdY2Jrl1RBbURPK007unlOIoSJJcTelXbKBZBbtIcQulwvmfinloecmRKDNPm TXsPCStrYxwiNuRCfvZkDdgQuCp4A3j2WG9zUve0vETv6sn1k1+8X7cPAPyKheI4O3 TcxwjtWFn+hfpwqd9eQU1N9O5hG5rR+l9mMZ0FwgFSwfp0I+MnwoOO+J0k/DrqBMQE Igf79J0iGbExiXUqc43PQYk0CjdtLJzFI9NwzaEWRceoUJHN48a0K28Rk8IjU0v7wj ppK3YkwZ+LOYhY9iFr+DzZd5gNxMo7/Y4v+D5pP8GijhDZQYl4/mPGMqIy8HfvWx2T sRG/bXpHZ6mjg== Received: (nullmailer pid 3212156 invoked by uid 1000); Mon, 17 Jul 2023 22:55:01 -0000 From: Rob Herring To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Russell King Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: mvebu: Explicitly include correct DT includes Date: Mon, 17 Jul 2023 16:54:56 -0600 Message-Id: <20230717225456.3212019-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_000039_798894_198FB046 X-CRM114-Status: GOOD ( 13.34 ) 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 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 --- arch/arm/mach-mvebu/kirkwood.c | 1 + arch/arm/mach-mvebu/pmsu.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-mvebu/kirkwood.c b/arch/arm/mach-mvebu/kirkwood.c index 8ff34753e760..73b2a86d6489 100644 --- a/arch/arm/mach-mvebu/kirkwood.c +++ b/arch/arm/mach-mvebu/kirkwood.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c index 6f366d8c4231..79c5171f06ec 100644 --- a/arch/arm/mach-mvebu/pmsu.c +++ b/arch/arm/mach-mvebu/pmsu.c @@ -23,8 +23,8 @@ #include #include #include +#include #include -#include #include #include #include