[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2690872.mvXUDI8C0e@jernej-laptop>
Date: Fri, 04 Aug 2023 16:38:11 +0200
From: Jernej Škrabec <jernej.skrabec@...il.com>
To: soc@...nel.org, Patrice Chotard <patrice.chotard@...s.st.com>,
Tsahee Zidenberg <tsahee@...apurnalabs.com>,
Antoine Tenart <atenart@...nel.org>,
Jisheng Zhang <jszhang@...nel.org>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
Andrew Lunn <andrew@...n.ch>,
Gregory Clement <gregory.clement@...tlin.com>,
Jean-Marie Verdun <verdun@....com>,
Nick Hawkins <nick.hawkins@....com>,
Lubomir Rintel <lkundrak@...sk>,
Linus Walleij <linus.walleij@...aro.org>,
Avi Fishman <avifishman70@...il.com>,
Tomer Maimon <tmaimon77@...il.com>,
Tali Perry <tali.perry1@...il.com>,
Patrick Venture <venture@...gle.com>,
Nancy Yuen <yuenn@...gle.com>,
Benjamin Fair <benjaminfair@...gle.com>,
Daniel Mack <daniel@...que.org>,
Haojian Zhuang <haojian.zhuang@...il.com>,
Robert Jarzmik <robert.jarzmik@...e.fr>,
Heiko Stuebner <heiko@...ech.de>,
Liviu Dudau <liviu.dudau@....com>,
Sudeep Holla <sudeep.holla@....com>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Viresh Kumar <vireshk@...nel.org>,
Shiraz Has him <shiraz.linux.kernel@...il.com>,
Stuart Yoder <stuyoder@...il.com>,
Laurentiu Tudor <laurentiu.tudor@....com>,
Jay Fang <f.fangjian@...wei.com>, Chen-Yu Tsai <wens@...e.org>,
Samuel Holland <samuel@...lland.org>,
Cristian Marussi <cristian.marussi@....com>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Florian Fainelli <florian.fainelli@...adcom.com>,
Dinh Nguyen <dinguyen@...nel.org>,
Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Michal Simek <michal.simek@....com>,
Joel Stanley <joel@....id.au>,
Andrew Jeffery <andrew@...id.au>,
Ulf Hansson <ulf.hansson@...aro.org>,
Li Yang <leoyang.li@....com>, Qiang Zhao <qiang.zhao@....com>,
Rob Herring <robh@...nel.org>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
openbmc@...ts.ozlabs.org, linux-rockchip@...ts.infradead.org,
linux-sunxi@...ts.linux.dev, linux-mediatek@...ts.infradead.org,
linux-rpi-kernel@...ts.infradead.org, linux-tegra@...r.kernel.org,
linux-aspeed@...ts.ozlabs.org, linux-pm@...r.kernel.org
Subject: Re: [PATCH v2 21/23] soc: sunxi: Explicitly include correct DT includes
Dne petek, 04. avgust 2023 ob 00:43:01 CEST je Rob Herring napisal(a):
> 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@...nel.org>
Acked-by: Jernej Skrabec <jernej.skrabec@...il.com>
Should I take this through sunxi tree?
Best regards,
Jernej
> ---
> v2:
> - Drop sun20i-ppu.c which moved
> ---
> drivers/soc/sunxi/sunxi_sram.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c
> index 4c4864cd2342..4458b2e0562b 100644
> --- a/drivers/soc/sunxi/sunxi_sram.c
> +++ b/drivers/soc/sunxi/sunxi_sram.c
> @@ -15,7 +15,7 @@
> #include <linux/module.h>
> #include <linux/of.h>
> #include <linux/of_address.h>
> -#include <linux/of_device.h>
> +#include <linux/of_platform.h>
> #include <linux/platform_device.h>
> #include <linux/regmap.h>
Powered by blists - more mailing lists