[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2cd4f9e5-87b6-64f9-2d50-f146cae6c83a@amd.com>
Date: Fri, 4 Aug 2023 08:51:24 +0200
From: Michal Simek <michal.simek@....com>
To: Rob Herring <robh@...nel.org>, 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>,
Jernej Skrabec <jernej.skrabec@...il.com>,
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>,
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>
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 22/23] soc: xilinx: Explicitly include correct DT
includes
Hi Rob,
On 8/4/23 00:43, Rob Herring wrote:
> 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>
> ---
> drivers/soc/xilinx/zynqmp_power.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/soc/xilinx/zynqmp_power.c b/drivers/soc/xilinx/zynqmp_power.c
> index 641dcc958911..913417506468 100644
> --- a/drivers/soc/xilinx/zynqmp_power.c
> +++ b/drivers/soc/xilinx/zynqmp_power.c
> @@ -11,6 +11,7 @@
>
> #include <linux/mailbox_client.h>
> #include <linux/module.h>
> +#include <linux/of.h>
> #include <linux/platform_device.h>
> #include <linux/reboot.h>
> #include <linux/suspend.h>
>
I was checking and I was on CC on the v1 but I didn't get this to my inbox.
Anyway let me apply this to my queue.
Arnd: If you want to take it directly I am fine with it too.
Thanks,
Michal
Powered by blists - more mailing lists