Message ID | 20230803-dt-header-cleanups-for-soc-v2-20-d8de2cc88bff@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 0e7ed4dda9efabb468b836a50238c53cca21de0c |
Headers | show
Return-Path: <robh@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 F3402C04A94 for <soc@archiver.kernel.org>; Thu, 3 Aug 2023 22:45:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id DA151C433CA; Thu, 3 Aug 2023 22:45:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E52A6C433C7; Thu, 3 Aug 2023 22:45:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691102713; bh=3yPSxhtvmHCRpQ5KBqxLc4q6ro2VZSxGQ+wC8Q6Uvuc=; h=From:Date:Subject:References:In-Reply-To:List-Id:To:Cc:From; b=dWWguMmMKd4QsCLpgzwcar0zpWrYeWDZNcAzMmIIvvTVVGrjFaHz1VtZ7xlboFMH1 exD3xZpcwnhEjAoayz+BRCkPQ+672at99YtGQ/xhLJKLadCGXFZynbih39jRTo5GIT 2eGf2YPhyARgiz3Q6PoHlvwPmzVXWZnchJ/qF9DnxQV2n3Tk/i/KgjDoJR/ObRBLP9 vmLmrwbsjHPFkKND/q3UX21KLNtswBKG1ckf6aCUijdyk+gXFdYOTv6AuOOKPWevMD XYX9WM9DEPRLwgGWjLxDN6V4YDTQ+9ibXJmpMcMoN62DKWt73//Hpav0An31WTIW4l nGrx05d8/e3lg== Received: (nullmailer pid 3693790 invoked by uid 1000); Thu, 03 Aug 2023 22:42:55 -0000 From: Rob Herring <robh@kernel.org> Date: Thu, 03 Aug 2023 16:43:00 -0600 Subject: [PATCH v2 20/23] soc: rockchip: Explicitly include correct DT includes MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230803-dt-header-cleanups-for-soc-v2-20-d8de2cc88bff@kernel.org> References: <20230803-dt-header-cleanups-for-soc-v2-0-d8de2cc88bff@kernel.org> In-Reply-To: <20230803-dt-header-cleanups-for-soc-v2-0-d8de2cc88bff@kernel.org> List-Id: <soc.lore.kernel.org> To: soc@kernel.org, Patrice Chotard <patrice.chotard@foss.st.com>, Tsahee Zidenberg <tsahee@annapurnalabs.com>, Antoine Tenart <atenart@kernel.org>, Jisheng Zhang <jszhang@kernel.org>, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>, Andrew Lunn <andrew@lunn.ch>, Gregory Clement <gregory.clement@bootlin.com>, Jean-Marie Verdun <verdun@hpe.com>, Nick Hawkins <nick.hawkins@hpe.com>, Lubomir Rintel <lkundrak@v3.sk>, Linus Walleij <linus.walleij@linaro.org>, Avi Fishman <avifishman70@gmail.com>, Tomer Maimon <tmaimon77@gmail.com>, Tali Perry <tali.perry1@gmail.com>, Patrick Venture <venture@google.com>, Nancy Yuen <yuenn@google.com>, Benjamin Fair <benjaminfair@google.com>, Daniel Mack <daniel@zonque.org>, Haojian Zhuang <haojian.zhuang@gmail.com>, Robert Jarzmik <robert.jarzmik@free.fr>, Heiko Stuebner <heiko@sntech.de>, Liviu Dudau <liviu.dudau@arm.com>, Sudeep Holla <sudeep.holla@arm.com>, Lorenzo Pieralisi <lpieralisi@kernel.org>, Viresh Kumar <vireshk@kernel.org>, Shiraz Has him <shiraz.linux.kernel@gmail.com>, Stuart Yoder <stuyoder@gmail.com>, Laurentiu Tudor <laurentiu.tudor@nxp.com>, Jay Fang <f.fangjian@huawei.com>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Cristian Marussi <cristian.marussi@arm.com>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Florian Fainelli <florian.fainelli@broadcom.com>, Dinh Nguyen <dinguyen@kernel.org>, Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Michal Simek <michal.simek@amd.com>, Joel Stanley <joel@jms.id.au>, Andrew Jeffery <andrew@aj.id.au>, Ulf Hansson <ulf.hansson@linaro.org>, Li Yang <leoyang.li@nxp.com>, Qiang Zhao <qiang.zhao@nxp.com> Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, linux-rockchip@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-mediatek@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-aspeed@lists.ozlabs.org, linux-pm@vger.kernel.org X-Mailer: b4 0.13-dev |
Series |
ARM: DT include cleanups
|
expand
|
diff --git a/drivers/soc/rockchip/grf.c b/drivers/soc/rockchip/grf.c index d768c5a70174..5fd62046b28a 100644 --- a/drivers/soc/rockchip/grf.c +++ b/drivers/soc/rockchip/grf.c @@ -7,7 +7,7 @@ #include <linux/err.h> #include <linux/mfd/syscon.h> -#include <linux/of_device.h> +#include <linux/of.h> #include <linux/platform_device.h> #include <linux/regmap.h>
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 <robh@kernel.org> --- drivers/soc/rockchip/grf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)