mfd: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:47:27 +0000 (11:47 -0600)
committerLee Jones <lee@kernel.org>
Fri, 18 Aug 2023 20:48:03 +0000 (21:48 +0100)
commitdc0c386e09a701e3c7c2dd58799cee992fa4e4b6
treeba1ce362c214f40f01ac38f963a3d2e40ac976fd
parent9855e7cd6563e01bb95e58d612d4ad72e167bdbf
mfd: 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@kernel.org>
Link: https://lore.kernel.org/r/20230714174731.4059811-1-robh@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
51 files changed:
drivers/mfd/ab8500-core.c
drivers/mfd/acer-ec-a500.c
drivers/mfd/act8945a.c
drivers/mfd/altera-sysmgr.c
drivers/mfd/arizona-core.c
drivers/mfd/atc260x-core.c
drivers/mfd/bcm590xx.c
drivers/mfd/cros_ec_dev.c
drivers/mfd/da9052-i2c.c
drivers/mfd/da9055-i2c.c
drivers/mfd/da9062-core.c
drivers/mfd/hi655x-pmic.c
drivers/mfd/iqs62x.c
drivers/mfd/lp873x.c
drivers/mfd/madera-i2c.c
drivers/mfd/madera-spi.c
drivers/mfd/max77620.c
drivers/mfd/max77686.c
drivers/mfd/max77843.c
drivers/mfd/max8907.c
drivers/mfd/max8925-core.c
drivers/mfd/max8997.c
drivers/mfd/max8998.c
drivers/mfd/mt6358-irq.c
drivers/mfd/mt6397-core.c
drivers/mfd/mt6397-irq.c
drivers/mfd/palmas.c
drivers/mfd/qcom-pm8008.c
drivers/mfd/rave-sp.c
drivers/mfd/rk8xx-core.c
drivers/mfd/rohm-bd71828.c
drivers/mfd/rohm-bd718x7.c
drivers/mfd/rohm-bd9576.c
drivers/mfd/rt5033.c
drivers/mfd/rz-mtu3.c
drivers/mfd/sec-core.c
drivers/mfd/sprd-sc27xx-spi.c
drivers/mfd/ssbi.c
drivers/mfd/stm32-lptimer.c
drivers/mfd/stm32-timers.c
drivers/mfd/sun4i-gpadc.c
drivers/mfd/ti-lmu.c
drivers/mfd/ti_am335x_tscadc.c
drivers/mfd/tps6507x.c
drivers/mfd/tps65090.c
drivers/mfd/tps65217.c
drivers/mfd/tps65218.c
drivers/mfd/tps6594-core.c
drivers/mfd/twl6040.c
drivers/mfd/wm831x-core.c
drivers/mtd/chips/cfi_cmdset_0002.c