[PATCH] pwm: Explicitly include correct DT includes

nobuhiro1.iwamatsu at toshiba.co.jp nobuhiro1.iwamatsu at toshiba.co.jp
Mon Jul 17 15:39:05 PDT 2023


Hi,

> -----Original Message-----
> From: Rob Herring <robh at kernel.org>
> Sent: Saturday, July 15, 2023 2:49 AM
> To: Thierry Reding <thierry.reding at gmail.com>; Uwe Kleine-König
> <u.kleine-koenig at pengutronix.de>; Hector Martin <marcan at marcan.st>;
> Sven Peter <sven at svenpeter.dev>; Alyssa Rosenzweig
> <alyssa at rosenzweig.io>; Nicolas Ferre <nicolas.ferre at microchip.com>;
> Alexandre Belloni <alexandre.belloni at bootlin.com>; Claudiu Beznea
> <claudiu.beznea at microchip.com>; Benson Leung <bleung at chromium.org>;
> Guenter Roeck <groeck at chromium.org>; Shawn Guo
> <shawnguo at kernel.org>; Sascha Hauer <s.hauer at pengutronix.de>;
> Pengutronix Kernel Team <kernel at pengutronix.de>; Fabio Estevam
> <festevam at gmail.com>; NXP Linux Team <linux-imx at nxp.com>; Paul
> Cercueil <paul at crapouillou.net>; Vladimir Zapolskiy <vz at mleia.com>; Neil
> Armstrong <neil.armstrong at linaro.org>; Kevin Hilman
> <khilman at baylibre.com>; Jerome Brunet <jbrunet at baylibre.com>; Martin
> Blumenstingl <martin.blumenstingl at googlemail.com>; Conor Dooley
> <conor.dooley at microchip.com>; Daire McNamara
> <daire.mcnamara at microchip.com>; Matthias Brugger
> <matthias.bgg at gmail.com>; AngeloGioacchino Del Regno
> <angelogioacchino.delregno at collabora.com>; Palmer Dabbelt
> <palmer at dabbelt.com>; Paul Walmsley <paul.walmsley at sifive.com>;
> Michael Walle <michael at walle.cc>; Orson Zhai <orsonzhai at gmail.com>;
> Baolin Wang <baolin.wang at linux.alibaba.com>; Chunyan Zhang
> <zhang.lyra at gmail.com>; Chen-Yu Tsai <wens at csie.org>; Jernej Skrabec
> <jernej.skrabec at gmail.com>; Samuel Holland <samuel at sholland.org>;
> Hammer Hsieh <hammerh0314 at gmail.com>; Jonathan Hunter
> <jonathanh at nvidia.com>; iwamatsu nobuhiro(岩松 信洋 ○DITC□DIT
> ○OST) <nobuhiro1.iwamatsu at toshiba.co.jp>
> Cc: devicetree at vger.kernel.org; linux-pwm at vger.kernel.org;
> linux-kernel at vger.kernel.org; asahi at lists.linux.dev;
> linux-arm-kernel at lists.infradead.org; chrome-platform at lists.linux.dev;
> linux-mips at vger.kernel.org; linux-amlogic at lists.infradead.org;
> linux-riscv at lists.infradead.org; linux-mediatek at lists.infradead.org;
> linux-sunxi at lists.linux.dev; linux-tegra at vger.kernel.org
> Subject: [PATCH] pwm: 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 <robh at kernel.org>

For drivers/pwm/pwm-visconti.c:
Reviewed-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu at toshiba.co.jp>

Best regards,
  Nobuhiro


More information about the linux-riscv mailing list