From patchwork Mon Jul 17 22:54:46 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: 13318258 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 28A28C0015E for ; Wed, 19 Jul 2023 05:57:09 +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=U/bNciTw8oTshqAjGqwmjOs6Tym66lFyM8hKrhkuYN4=; b=Flq53hZBEMgnmw WVOwfkOQEvPTbQ4PXw1JY8IFe+ecI2uw7zrwFy3+RIY7aqkAHWzJW1qorUqoPRuBJsCjkwmfnfGU/ X2GFuqnB7L+HJlZfdQlE/pQF78Kl7ljRPy2tayg8v/YgjoGnLdiYPMTNVSbPLPJrkLqUYiOKy7R6D S06hXR3bR4/nsdMoaH4BJrMRCen6Zok0MXkIe34yHDV/PI7o6eUbL7wSPN8ffm207pfwGelI+0YaW T8kepMMcGrEMAUou8BQbA+rvva3OiPLvxBupJ8nR8/lwruRHSBSJlzJrK/s+k/wM7N2Lo+OJdjbxo S10PP8EpX7IabmmZMPcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qM0BD-005THa-1q; Wed, 19 Jul 2023 05:56:55 +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 1qM0B1-005TBw-3D for linux-arm-kernel@bombadil.infradead.org; Wed, 19 Jul 2023 05:56:43 +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=RLNV7YaF9ibetEUeTbBG2m/q8pp6j+V8FlDPy76JCds=; b=BjTWojsVCAtFd55CZlMuRHguiB ab2UnscNHt0Ym+6oSDpVWeK5LX8gUoHGntl1B7fpGtf0Z1bWiUYARhGQNYa+zN6GUmXb1r7xVEicv QdWGZfAp+gn3jS8TGbUReV90HRPARDfHbRAR78uOkTdbnexrLgccjjF7vBdwILTjNGfMWxkrjFUlZ gQ78fxLWkLdSPcWgxwN3BfG1XfSuUwidpfXy2rpFOKX47KtfjHsfQ0MG0ECAQQEFi8vDZf4TDE/me CYBRVV1B4VBCXznZVFb4huyPvF1JLHymUxjSlKPzeOeSVUPvUtXCbs7ymD2cxhxcK1/YyKJ3DxQO+ uHnyZw+g==; Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qLXC1-009R7m-1D for linux-arm-kernel@lists.infradead.org; Mon, 17 Jul 2023 23:00:41 +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 43801612BB; Mon, 17 Jul 2023 22:58:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1F80C433C7; Mon, 17 Jul 2023 22:58:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689634724; bh=rM26BLazDBsUWhbicT5Xil9vOWS3Rtw9EQvF4oPqBU4=; h=From:To:Cc:Subject:Date:From; b=d+xnaUrzFHksDRaRYvhXNRgDZX1mSPr8+8T2JlAVzjfLb5Ydem2RGjv/HG/6XV4q7 yndeBtrZtuOOy3WeWki60J1w7TicdtV2hdl9UHfxGS70DlD9BDkXLeyGGG5INGvs7J KHWMBTmDTWRNpRF4Sx3urZKpXpy4WBXb8Ngvw6NcACdYu7gCDxtSOY0fwDRszrjorB rHe/qr1/3cYHG+HwtW1iQOc3LuoOjhofWJvBgxCGYk0SPbUyw8rwnsU1INhXZRcp8k pgwjn3wBS96h2SJhv9juWlGzzwN+agtw9ScLFQM51oIoN+792a0PdyVE3oLKLzdjE4 V7t1LsOU3SNpA== Received: (nullmailer pid 3211848 invoked by uid 1000); Mon, 17 Jul 2023 22:54:49 -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] ARM: s5pv210: Explicitly include correct DT includes Date: Mon, 17 Jul 2023 16:54:46 -0600 Message-Id: <20230717225446.3211738-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-20230717_235952_662570_A0A1F4A6 X-CRM114-Status: GOOD ( 12.61 ) 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. --- 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