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

2023-10-04 Thread Charles Keepax
On Tue, Oct 03, 2023 at 11:43:07AM -0500, Rob Herring wrote:
> 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 
> ---

For the Wolfson/Cirrus bits:

Acked-by: Charles Keepax 

Thanks,
Charles


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

2023-10-04 Thread AngeloGioacchino Del Regno

Il 03/10/23 18:43, Rob Herring ha scritto:

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 


for MediaTek:

Reviewed-by: AngeloGioacchino Del Regno 





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

2023-10-03 Thread Rob Herring
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 
---
 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 +---