Re: [PATCH RESEND 1/5] ASoC: Explicitly include correct DT includes

From: Jernej Škrabec
Date: Tue Oct 03 2023 - 16:46:21 EST


Dne torek, 03. oktober 2023 ob 20:13:10 CEST je Rob Herring napisal(a):
> The DT of_device.h and of_platform.h date back to the separate
> of_platform_bus_type before it was 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@xxxxxxxxxx>
> ---
> sound/soc/atmel/atmel_wm8904.c | 1 -
> sound/soc/atmel/mchp-i2s-mcc.c | 2 +-
> sound/soc/atmel/tse850-pcm5142.c | 1 -
> sound/soc/bcm/cygnus-ssp.c | 2 +-
> sound/soc/codecs/adau1701.c | 1 -
> sound/soc/codecs/adau1977-spi.c | 1 -
> sound/soc/codecs/ak4104.c | 2 +-
> sound/soc/codecs/ak4118.c | 2 +-
> sound/soc/codecs/ak4375.c | 2 +-
> sound/soc/codecs/ak4458.c | 2 +-
> sound/soc/codecs/ak4613.c | 2 +-
> sound/soc/codecs/ak4642.c | 2 +-
> sound/soc/codecs/ak5558.c | 2 +-
> sound/soc/codecs/cs35l32.c | 2 +-
> sound/soc/codecs/cs35l33.c | 2 --
> sound/soc/codecs/cs35l34.c | 2 +-
> sound/soc/codecs/cs35l35.c | 3 +--
> sound/soc/codecs/cs35l36.c | 3 +--
> sound/soc/codecs/cs35l41-i2c.c | 2 +-
> sound/soc/codecs/cs35l41.c | 1 -
> sound/soc/codecs/cs4270.c | 2 +-
> sound/soc/codecs/cs42l42.c | 1 -
> sound/soc/codecs/cs42l56.c | 2 +-
> sound/soc/codecs/cs42xx8-i2c.c | 2 +-
> sound/soc/codecs/cs43130.c | 3 +--
> sound/soc/codecs/cs4349.c | 2 +-
> sound/soc/codecs/da7213.c | 2 +-
> sound/soc/codecs/da7219.c | 2 +-
> sound/soc/codecs/da9055.c | 1 -
> sound/soc/codecs/es8328.c | 1 -
> sound/soc/codecs/gtm601.c | 2 +-
> sound/soc/codecs/lpass-macro-common.c | 2 +-
> sound/soc/codecs/mt6351.c | 2 +-
> sound/soc/codecs/mt6358.c | 2 +-
> sound/soc/codecs/mt6359-accdet.c | 4 ----
> sound/soc/codecs/mt6359.c | 2 +-
> sound/soc/codecs/nau8540.c | 2 +-
> sound/soc/codecs/pcm1681.c | 2 --
> sound/soc/codecs/rt715.c | 2 --
> sound/soc/codecs/sgtl5000.c | 2 +-
> sound/soc/codecs/sma1303.c | 2 +-
> sound/soc/codecs/sta32x.c | 3 +--
> sound/soc/codecs/sta350.c | 3 +--
> sound/soc/codecs/tas571x.c | 2 +-
> sound/soc/codecs/uda1334.c | 2 +-
> sound/soc/codecs/wm8510.c | 2 +-
> sound/soc/codecs/wm8523.c | 2 +-
> sound/soc/codecs/wm8524.c | 2 +-
> sound/soc/codecs/wm8580.c | 2 +-
> sound/soc/codecs/wm8711.c | 2 +-
> sound/soc/codecs/wm8728.c | 2 +-
> sound/soc/codecs/wm8731-i2c.c | 2 +-
> sound/soc/codecs/wm8731-spi.c | 2 +-
> sound/soc/codecs/wm8737.c | 2 +-
> sound/soc/codecs/wm8741.c | 2 +-
> sound/soc/codecs/wm8750.c | 2 +-
> sound/soc/codecs/wm8753.c | 2 +-
> sound/soc/codecs/wm8770.c | 2 +-
> sound/soc/codecs/wm8776.c | 2 +-
> sound/soc/codecs/wm8804.c | 1 -
> sound/soc/fsl/efika-audio-fabric.c | 4 ++--
> sound/soc/fsl/fsl_aud2htx.c | 3 +--
> sound/soc/fsl/fsl_mqs.c | 2 +-
> sound/soc/fsl/fsl_rpmsg.c | 3 +--
> sound/soc/fsl/fsl_sai.c | 3 +--
> sound/soc/fsl/fsl_spdif.c | 4 +---
> sound/soc/fsl/imx-audmux.c | 1 -
> sound/soc/fsl/imx-card.c | 3 +--
> sound/soc/fsl/imx-rpmsg.c | 3 ++-
> sound/soc/fsl/mpc5200_dma.c | 4 ++--
> sound/soc/fsl/mpc5200_psc_ac97.c | 3 +--
> sound/soc/fsl/mpc5200_psc_i2s.c | 3 +--
> sound/soc/fsl/mpc8610_hpcd.c | 2 +-
> sound/soc/fsl/p1022_ds.c | 2 +-
> sound/soc/fsl/p1022_rdk.c | 2 +-
> sound/soc/fsl/pcm030-audio-fabric.c | 3 +--
> sound/soc/generic/audio-graph-card.c | 2 --
> sound/soc/generic/audio-graph-card2.c | 2 --
> sound/soc/generic/simple-card.c | 2 +-
> sound/soc/generic/test-component.c | 2 +-
> sound/soc/mediatek/mt2701/mt2701-afe-pcm.c | 2 --
> sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c | 2 +-
> sound/soc/mediatek/mt8183/mt8183-mt6358-ts3a227-max98357.c | 2 +-
> sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c | 2 +-
> sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c | 2 +-
> sound/soc/mediatek/mt8188/mt8188-mt6359.c | 2 +-
> sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c | 2 +-
> sound/soc/mediatek/mt8195/mt8195-mt6359.c | 2 +-
> sound/soc/mxs/mxs-saif.c | 1 -
> sound/soc/mxs/mxs-sgtl5000.c | 1 -
> sound/soc/qcom/apq8096.c | 2 +-
> sound/soc/qcom/qdsp6/q6apm-dai.c | 2 +-
> sound/soc/qcom/qdsp6/q6asm-dai.c | 2 +-
> sound/soc/qcom/qdsp6/q6dsp-lpass-clocks.c | 1 -
> sound/soc/qcom/qdsp6/q6routing.c | 3 +--
> sound/soc/qcom/sc7180.c | 2 +-
> sound/soc/qcom/sc7280.c | 2 +-
> sound/soc/qcom/sc8280xp.c | 2 +-
> sound/soc/qcom/sdm845.c | 2 +-
> sound/soc/qcom/sm8250.c | 2 +-
> sound/soc/rockchip/rockchip_i2s_tdm.c | 4 +---
> sound/soc/rockchip/rockchip_max98090.c | 3 +--
> sound/soc/rockchip/rockchip_pdm.c | 1 -
> sound/soc/samsung/aries_wm8994.c | 1 -
> sound/soc/samsung/arndale.c | 2 +-
> sound/soc/samsung/i2s.c | 2 --
> sound/soc/samsung/midas_wm1811.c | 2 --
> sound/soc/samsung/odroid.c | 1 -
> sound/soc/samsung/smdk_wm8994.c | 1 -
> sound/soc/samsung/snow.c | 1 -
> sound/soc/sh/fsi.c | 1 -
> sound/soc/sh/rcar/core.c | 1 +
> sound/soc/sh/rcar/rsnd.h | 4 +---
> sound/soc/sh/rcar/src.c | 1 +
> sound/soc/sh/rcar/ssi.c | 2 ++
> sound/soc/sh/rz-ssi.c | 1 -
> sound/soc/sunxi/sun4i-codec.c | 4 ----
> sound/soc/sunxi/sun4i-i2s.c | 2 +-
> sound/soc/sunxi/sun4i-spdif.c | 3 +--
> sound/soc/sunxi/sun50i-codec-analog.c | 3 +--
> sound/soc/sunxi/sun50i-dmic.c | 2 +-
> sound/soc/sunxi/sun8i-codec-analog.c | 1 -
> sound/soc/sunxi/sun8i-codec.c | 2 +-

For sunxi:
Acked-by: Jernej Skrabec <jernej.skrabec@xxxxxxxxx>

Best regards,
Jernej

> sound/soc/tegra/tegra186_asrc.c | 3 +--
> sound/soc/tegra/tegra186_dspk.c | 2 +-
> sound/soc/tegra/tegra20_spdif.c | 2 +-
> sound/soc/tegra/tegra210_adx.c | 3 +--
> sound/soc/tegra/tegra210_amx.c | 3 +--
> sound/soc/tegra/tegra210_dmic.c | 2 +-
> sound/soc/tegra/tegra210_i2s.c | 2 +-
> sound/soc/tegra/tegra210_mixer.c | 3 +--
> sound/soc/tegra/tegra210_mvc.c | 3 +--
> sound/soc/tegra/tegra210_ope.c | 3 +--
> sound/soc/tegra/tegra210_peq.c | 1 -
> sound/soc/tegra/tegra210_sfc.c | 1 -
> sound/soc/tegra/tegra30_i2s.c | 1 -
> sound/soc/tegra/tegra_asoc_machine.c | 1 -
> sound/soc/tegra/tegra_audio_graph_card.c | 2 +-
> sound/soc/ti/omap-dmic.c | 2 +-
> sound/soc/ti/omap-mcpdm.c | 2 +-
> 140 files changed, 109 insertions(+), 181 deletions(-)