Input: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Mon, 17 Jul 2023 16:03:47 +0000 (09:03 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 17 Jul 2023 17:03:07 +0000 (10:03 -0700)
commitdbce1a7d5dce7318d8465b1e0d052ef1d2202237
treef35d29b50cfd62aeeb4a687057db0ac1d5936d86
parent50501936288d6a29d7ef78f25d00e33240fad45f
Input: 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/20230714174633.4058096-1-robh@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
21 files changed:
drivers/input/keyboard/sun4i-lradc-keys.c
drivers/input/keyboard/tm2-touchkey.c
drivers/input/misc/gpio-vibra.c
drivers/input/misc/iqs269a.c
drivers/input/misc/iqs626a.c
drivers/input/misc/iqs7222.c
drivers/input/misc/mma8450.c
drivers/input/misc/pm8941-pwrkey.c
drivers/input/misc/pm8xxx-vibrator.c
drivers/input/misc/pmic8xxx-pwrkey.c
drivers/input/misc/pwm-vibra.c
drivers/input/misc/sparcspkr.c
drivers/input/serio/apbps2.c
drivers/input/serio/i8042-sparcio.h
drivers/input/serio/xilinx_ps2.c
drivers/input/touchscreen/cyttsp5.c
drivers/input/touchscreen/ili210x.c
drivers/input/touchscreen/iqs5xx.c
drivers/input/touchscreen/mms114.c
drivers/input/touchscreen/pixcir_i2c_ts.c
drivers/input/touchscreen/ti_am335x_tsc.c