From patchwork Thu Jul 20 17:27:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 13320920 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 018E2EB64DA for ; Thu, 20 Jul 2023 17:28:19 +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=anNkoDWgsdA8V4o2i5EgkPpCtdmEbWWKseo7itIOU2I=; b=QoNgmsNEZu6uZ1 7unmLuxmb1m/9FHWrSE2cmUchfFMRYBrJIs9ylWBp+MoPQOKK8WjoIMYodezKHbdaM41ednsqKiEk spQ+zb/p64O2+BPpuxaCEYnfGSh5AH3J89EGp3Qn2zfy6zozMHc6ONbJrZQdZukOHtBP5PFhT7lk9 I/EdqAxnQXaCx+KHqRWcvxZkmUkQ/yy0Lgli7TlPskfpqeAi8P3M4GvW4fANlU+wZxcyqqTUhOoVC YWnQT8X4PrnKhJqDYihuxxff51Ypphdfbg/hGdVG46xosOgVJJNFfEqcmn6GoMPHhFWg4BcGnOtf6 +XvCWDZBtcyjFGO0IrjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qMXRY-00Bmtx-1K; Thu, 20 Jul 2023 17:28:00 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qMXRW-00BmtS-2k for linux-arm-kernel@lists.infradead.org; Thu, 20 Jul 2023 17:28:00 +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 6244161BA7; Thu, 20 Jul 2023 17:27:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55F7CC433C8; Thu, 20 Jul 2023 17:27:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689874077; bh=/dSw9RRh1DQ4XNaoDYE+OyLjB8iJNQDRrqTYbqT4Yis=; h=From:To:Cc:Subject:Date:From; b=Jbd660Y2/1ojZDUu2/xNrV+f1Ib5B8hROvrACVTRy1lJskDLmAW/KjPM1MxkMwkJp ML7ce3GkNCZDubDtwczc5pEct6L4HZ4fFZx5OMbqLUpi/iRmk6mRXK8euNYSgeifK1 IBR+bodgfOt1AaLD1i9BWs+Rt1bYxEWPt85wWrQBEt0i++bp0CzlfTIywG6J2d/Ybi K1DruJnRE2GZianB+9/2quUSrpF2/teWxzVTqfLlGnSzK0LCatD3HTLQenBLcOMPNr 2k7E3mVqX8ipQ7mDgjj7gIa/DzdZiypr/zgwS5YREWnGllBmhZNdhJFqRSsLtogz+1 NzijiEjzDE25g== Received: (nullmailer pid 2918876 invoked by uid 1000); Thu, 20 Jul 2023 17:27:56 -0000 From: Rob Herring To: Russell King , Krzysztof Kozlowski , Alim Akhtar Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] ARM: s5pv210: Explicitly include correct DT includes Date: Thu, 20 Jul 2023 11:27:51 -0600 Message-Id: <20230720172751.2918776-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-20230720_102758_928174_011DF497 X-CRM114-Status: GOOD ( 12.94 ) 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 --- v2: Add missing Sob --- arch/arm/mach-s5pv210/s5pv210.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-s5pv210/s5pv210.c b/arch/arm/mach-s5pv210/s5pv210.c index a21ed3bb992a..7d4a10184160 100644 --- a/arch/arm/mach-s5pv210/s5pv210.c +++ b/arch/arm/mach-s5pv210/s5pv210.c @@ -7,7 +7,7 @@ // Tomasz Figa #include -#include +#include #include #include