Message ID | 20230720172751.2918776-1-robh@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp3281712vqt; Thu, 20 Jul 2023 10:43:49 -0700 (PDT) X-Google-Smtp-Source: APBJJlHFAgJyTuir/Vvo8pTAFRhb89qwaRSuHM2PHwJdhndYb7oQtnvmdRxlkZgZ2hAW6QHWdv46 X-Received: by 2002:a17:907:160c:b0:994:55ce:1630 with SMTP id hb12-20020a170907160c00b0099455ce1630mr6781384ejc.42.1689875028821; Thu, 20 Jul 2023 10:43:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689875028; cv=none; d=google.com; s=arc-20160816; b=keLsMcV39hUnFTpaHuWLo6Sx7hstn/c8bPbZXnFbOyKjljyzB1SAX1WR1vsNhxGwx8 fG3ksVsd9KHDpkH1RCVXr0xjVW/KE6+f7O8Hox7b84MO8MdCJVhkT5fbX4QPT6I2R9hr Y/1nHWBmERLxK1bwxatv5gzifZla0jLow9ecATWd4EwJ6h7ledldSwzT4JXtWrgX2I7v OoWTmt34lHbbUh+wKaRCnDpbiWctNlWPHzO4dHjS8kF/DfKpYooCRwAIGXp9ZJ12qVo9 lE7JdWmNU71YBktaAzf+Bbwcdmk7sMP5ezBxgyRVlQBRoi7XsTHqnrWGAU8lg8xOgy7V eGGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Vb1DuzJeVX8bXnbksj17oIxyXmvrE7c9e7YbwdDRkP4=; fh=bov9u2FEpU/AtCA8PHtf/mVRXgmpfpdrfrEtdqirY7E=; b=tWYeBIwmmRnDf29HHHeIDCBwB1q7kz4uHt8nMQqonj0iN+ulD0AFZZZg4ZTAUkCdSS yOmZ66fckhBhSrgLkkhbkMer0tFGz0ax6xbDeooRkK4T3zSE5MB6uLXWrGjQSPqHg51j qijUOcGbmcyCpC6H9eJ633xMmQq6grXyIX8mjG4M3cT5VMfhrp+CpPz2mpnT4falMU1I YpBNsfJPPfkFXLDELm6HPXuMa1Mfkl/PurD1sYbgzEbNJdFDKKWtwTND/2cuvOdNYKI2 nXPnCW9dZuH/oBVzIbID3PEvzZl+xr1tU2co38WYjiXHFzGainw49VCTjQ4YEJZQy/IO qmNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Jbd660Y2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g8-20020a170906198800b00992bd86ece6si943904ejd.725.2023.07.20.10.43.24; Thu, 20 Jul 2023 10:43:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Jbd660Y2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231821AbjGTR2K (ORCPT <rfc822;assdfgzxcv4@gmail.com> + 99 others); Thu, 20 Jul 2023 13:28:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231971AbjGTR2C (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 20 Jul 2023 13:28:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC0651BB; Thu, 20 Jul 2023 10:27:58 -0700 (PDT) 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 5AA5361B56; 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 <robh@kernel.org> To: Russell King <linux@armlinux.org.uk>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Alim Akhtar <alim.akhtar@samsung.com> 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771962398283343250 X-GMAIL-MSGID: 1771962398283343250 |
Series |
[v2] ARM: s5pv210: Explicitly include correct DT includes
|
|
Commit Message
Rob Herring
July 20, 2023, 5:27 p.m. UTC
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 <robh@kernel.org>
---
v2: Add missing Sob
---
arch/arm/mach-s5pv210/s5pv210.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Thu, 20 Jul 2023 11:27:51 -0600, Rob Herring wrote: > 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. > > [...] Applied, thanks! [1/1] ARM: s5pv210: Explicitly include correct DT includes https://git.kernel.org/krzk/linux/c/3027df7e739c4f3768690bc59f022a0af8e6712c Best regards,
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 <t.figa@samsung.com> #include <linux/of_fdt.h> -#include <linux/of_platform.h> +#include <linux/platform_device.h> #include <asm/mach/arch.h> #include <asm/mach/map.h>