From patchwork Mon Jul 17 22:54:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 13318345 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 4A75DC001B0 for ; Wed, 19 Jul 2023 06:34:56 +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=876ta3qZgC9+hRQm8E90zsDKDi9pLAYdV0TGSivwMk0=; b=DetySVmnhOE2WY r/2IM0ZSQnfNp8Ef3SU/7Rh1oR8wp76qJZf08cvZTBCKJP/qejkOsjjM3WG44ruxw78oHiIBClqec B5+THM2+JCP9jbJtdhTH8TBJbFEre1SIJFCnaMiigb9KzlyCE2JbJpqjwYZPWtmIN38ExI7Dj0e7O mcojDTGuv5BgOaRQY4HLpBnDRbStG/45tI/9cjRNiF/DrZKg/bwxk32XXh+X2WujuFs22aKh9hr77 EJPZYkp59OdBXraugc1c2oIM6MesrKmBmbFopdm91HgoCTwhPl8cAUG28KWs2CJHLjwBKMKG0pfLZ zExVqT4nUuFPxU1D5cIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qM0lf-005n3y-1k; Wed, 19 Jul 2023 06:34:35 +0000 Received: from casper.infradead.org ([90.155.50.34]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qLzck-005Dg5-28 for linux-arm-kernel@bombadil.infradead.org; Wed, 19 Jul 2023 05:21:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:List-Id:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=iVkI02za03TI1r8J2Au1BRPLzxWalRYXSWKA3DZiu/E=; b=oqjB+Obz7O3R0mmzTn3goEH82G qHWSxXhV0wmTKtZFZpBpnTAcviwHC7iIBYVBmxBiraZY+AGJaxlqSYCmPyOh1xLJHQEnkWXJ97wUF A95Zx9A8lOSXvoUs4uvkjRpWARJe9HqH+XajjV6gjk5yk8KPZvfPHGopGeuhcm6bKDjeWYB5rj831 iwfTnUSG7f7Rox1/RGRkLYpMHQ3/mFAr8Zwy92kfH7SJTC7uaLubE59gKvVZ9me+sNM5CfTvBFscj 4b03xfbvIrGw6Nmr1u7NpPDJhSAb3I4ARXkwH5MaOVfOl0dQ9Aq/zDsR7oFaKtJlSWPtbsY4sWziW 7UW1S3qA==; Received: from dfw.source.kernel.org ([139.178.84.217]) by casper.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1qLXHC-004KtX-9a for linux-arm-kernel@lists.infradead.org; Mon, 17 Jul 2023 23:05:12 +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 6CACB6130B; Mon, 17 Jul 2023 23:00:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0730C433C8; Mon, 17 Jul 2023 23:00:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689634856; bh=L8ZQ9Ur6SNWSgV6u8t4z+UPhVHEOdzE18wYtjgnrA9s=; h=From:List-Id:To:Cc:Subject:Date:From; b=ugTwGr975HQP8FH1W2WzpIC1UAOAfrqE+pF7/B/dzba9nQHvKYOFEgoMQCXLgiQYi f/1Pz9YjCkfJNkQYCqT16ZEvivJKsK3yDffEouQGo0kkJCDl6xSbitNqP71h1SWuID JUdjYfGEi5ehlgySB2m20sX9UzfvTrc8neTTI0GB2sSndTEZ8C1SECtRlGuAsMwTg3 D+bxmbrUORRJgd83tbd5RSLfZYVt1N6d4aiSJr3NwYNI+QvEQZcoRKw6IUuOR2nlLZ viHxxnUsSJhD29q9rIfOXbqEgB2YI5ZzS4s9X+guT2+cclGi8fgdvpLo95/sc5/4Dc JC3N1v/B4eZEQ== Received: (nullmailer pid 3211169 invoked by uid 1000); Mon, 17 Jul 2023 22:54:23 -0000 From: Rob Herring To: Viresh Kumar , Shiraz Hashim , soc@kernel.org, Russell King Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: spear: Explicitly include correct DT includes Date: Mon, 17 Jul 2023 16:54:13 -0600 Message-Id: <20230717225414.3210914-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_000510_659165_6F7381B4 X-CRM114-Status: GOOD ( 10.95 ) 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 Acked-by: Viresh Kumar --- 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"