Thread (3 messages) 3 messages, 3 authors, 2023-08-14

Re: [PATCH] I2C: Explicitly include correct DT includes

From: Wolfram Sang <wsa+renesas@sang-engineering.com>
Date: 2023-08-14 15:51:34
Also in: linux-amlogic, linux-devicetree, linux-i2c, linux-mediatek, linux-mips, linux-renesas-soc, linux-samsung-soc, linux-tegra, lkml

On Fri, Jul 14, 2023 at 11:46:16AM -0600, 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@kernel.org>
Applied to for-next, thanks!

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help