> -----Original Message-----
> From: Rob Herring <r...@kernel.org>
> Sent: 2023年7月15日 1:48
> To: Dario Binacchi <dario.binac...@amarulasolutions.com>; Wolfgang
> Grandegger <w...@grandegger.com>; Marc Kleine-Budde
> <m...@pengutronix.de>; David S. Miller <da...@davemloft.net>; Eric
> Dumazet <eduma...@google.com>; Jakub Kicinski <k...@kernel.org>; Paolo
> Abeni <pab...@redhat.com>; Chandrasekar Ramakrishnan
> <rcse...@samsung.com>; Chen-Yu Tsai <w...@csie.org>; Jernej Skrabec
> <jernej.skra...@gmail.com>; Samuel Holland <sam...@sholland.org>; Florian
> Fainelli <florian.faine...@broadcom.com>; Andrew Lunn <and...@lunn.ch>;
> Vladimir Oltean <olte...@gmail.com>; Kurt Kanzenbach <k...@linutronix.de>;
> Woojung Huh <woojung....@microchip.com>;
> unglinuxdri...@microchip.com; Arınç ÜNAL <arinc.u...@arinc9.com>;
> Daniel Golle <dan...@makrotopia.org>; Landen Chao
> <landen.c...@mediatek.com>; DENG Qingfang <dqf...@gmail.com>; Sean
> Wang <sean.w...@mediatek.com>; Matthias Brugger
> <matthias....@gmail.com>; AngeloGioacchino Del Regno
> <angelogioacchino.delre...@collabora.com>; Claudiu Manoil
> <claudiu.man...@nxp.com>; Alexandre Belloni
> <alexandre.bell...@bootlin.com>; Linus Walleij <linus.wall...@linaro.org>;
> Alvin Šipraga <a...@bang-olufsen.dk>; George McCollister
> <george.mccollis...@gmail.com>; Andreas Larsson <andr...@gaisler.com>;
> Iyappan Subramanian <iyap...@os.amperecomputing.com>; Keyur Chudgar
> <ke...@os.amperecomputing.com>; Chris Snook <chris.sn...@gmail.com>;
> Nicolas Ferre <nicolas.fe...@microchip.com>; Claudiu Beznea
> <claudiu.bez...@microchip.com>; Madalin Bucur <madalin.bu...@nxp.com>;
> Wei Fang <wei.f...@nxp.com>; Shenwei Wang <shenwei.w...@nxp.com>;
> Clark Wang <xiaoning.w...@nxp.com>; dl-linux-imx <linux-...@nxp.com>;
> Sean Anderson <sean.ander...@seco.com>; Pantelis Antoniou
> <pantelis.anton...@gmail.com>; Leo Li <leoyang...@nxp.com>; Yisen Zhuang
> <yisen.zhu...@huawei.com>; Salil Mehta <salil.me...@huawei.com>;
> Douglas Miller <dougm...@linux.ibm.com>; Marcin Wojtas
> <m...@semihalf.com>; Russell King <li...@armlinux.org.uk>; Tara s Chornyi
> <taras.chor...@plvision.eu>; Mirko Lindner <mlind...@marvell.com>;
> Stephen Hemminger <step...@networkplumber.org>; Felix Fietkau
> <n...@nbd.name>; John Crispin <j...@phrozen.org>; Mark Lee
> <mark-mc....@mediatek.com>; Lorenzo Bianconi <lore...@kernel.org>;
> Horatiu Vultur <horatiu.vul...@microchip.com>; Timur Tabi
> <ti...@kernel.org>; Sergey Shtylyov <s.shtyl...@omp.ru>; Steve Glendinning
> <steve.glendinn...@shawell.net>; Kunihiko Hayashi
> <hayashi.kunih...@socionext.com>; Giuseppe Cavallaro
> <peppe.cavall...@st.com>; Alexandre Torgue <alexandre.tor...@foss.st.com>;
> Jose Abreu <joab...@synopsys.com>; Maxime Coquelin
> <mcoquelin.st...@gmail.com>; Shawn Guo <shawn...@kernel.org>; Sascha
> Hauer <s.ha...@pengutronix.de>; Pengutronix Kernel Team
> <ker...@pengutronix.de>; Fabio Estevam <feste...@gmail.com>; Neil
> Armstrong <neil.armstr...@linaro.org>; Kevin Hilman
> <khil...@baylibre.com>; Jerome Brunet <jbru...@baylibre.com>; Martin
> Blumenstingl <martin.blumensti...@googlemail.com>; Vinod Ko ul
> <vk...@kernel.org>; Bhupesh Sharma <bhupesh.sha...@linaro.org>; Emil
> Renner Berthing <ker...@esmil.dk>; Samin Guo
> <samin....@starfivetech.com>; Thierry Reding <thierry.red...@gmail.com>;
> Jonathan Hunter <jonath...@nvidia.com>; Nobuhiro Iwamatsu
> <nobuhiro1.iwama...@toshiba.co.jp>; Grygorii Strashko
> <grygorii.stras...@ti.com>; Kevin Brace
> <kevinbr...@bracecomputerlab.com>; Francois Romieu
> <rom...@fr.zoreil.com>; Michal Simek <michal.si...@amd.com>; Radhey
> Shyam Pandey <radhey.shyam.pan...@amd.com>; Alexander Aring
> <alex.ar...@gmail.com>; Stefan Schmidt <ste...@datenfreihafen.org>;
> Miquel Raynal <miquel.ray...@bootlin.com>; Alex Elder <el...@kernel.org>;
> Clément Léger <clement.le...@bootlin.com>; Heiner Kallweit
> <hkallwe...@gmail.com>; SkyLake Huang <skylake.hu...@mediatek.com>;
> Kalle Valo <kv...@kernel.org>; Loic Poulain <loic.poul...@linaro.org>; Ryder
> Lee <ryder....@mediatek.com>; Shayne Chen <shayne.c...@mediatek.com>;
> Jérôme Pouille r <jerome.pouil...@silabs.com>; Richard Cochran
> <richardcoch...@gmail.com>
> Cc: devicet...@vger.kernel.org; linux-...@vger.kernel.org;
> net...@vger.kernel.org; linux-ker...@vger.kernel.org;
> linux-arm-ker...@lists.infradead.org; linux-su...@lists.linux.dev;
> linux-media...@lists.infradead.org; linuxppc-dev@lists.ozlabs.org;
> linux-renesas-...@vger.kernel.org;
> linux-st...@st-md-mailman.stormreply.com;
> linux-amlo...@lists.infradead.org; linux-ox...@groups.io;
> linux-te...@vger.kernel.org; linux-o...@vger.kernel.org;
> linux-w...@vger.kernel.org; ath...@lists.infradead.org;
> linux-wirel...@vger.kernel.org; ath...@lists.infradead.org;
> wcn3...@lists.infradead.org
> Subject: [PATCH] net: Explicitly include correct DT includes
> 
> 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 <r...@kernel.org>
> ---
> diff --git a/drivers/net/ethernet/freescale/fec_ptp.c
> b/drivers/net/ethernet/freescale/fec_ptp.c
> index ab86bb8562ef..9428a06b6a87 100644
> --- a/drivers/net/ethernet/freescale/fec_ptp.c
> +++ b/drivers/net/ethernet/freescale/fec_ptp.c
> @@ -30,7 +30,6 @@
>  #include <linux/phy.h>
>  #include <linux/fec.h>
>  #include <linux/of.h>
> -#include <linux/of_device.h>
>  #include <linux/of_gpio.h>
>  #include <linux/of_net.h>
> 
Thanks!
Reviewed-by: Wei Fang <wei.f...@nxp.com>

Reply via email to