diff options
author | Rob Herring <robh@kernel.org> | 2023-07-14 19:51:08 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-07-16 14:50:56 +0200 |
commit | 7e9f28398a6e226d4c31cb0e5501a36f37fa139d (patch) | |
tree | b7ca1cd1d60a0e8f9c4facc5d76e449e8e158eaa /sound/ppc/awacs.c | |
parent | ALSA: pcmtest: minor optimizations (diff) | |
download | linux-7e9f28398a6e226d4c31cb0e5501a36f37fa139d.tar.xz linux-7e9f28398a6e226d4c31cb0e5501a36f37fa139d.zip |
ALSA: 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/20230714175109.4066599-1-robh@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc/awacs.c')
-rw-r--r-- | sound/ppc/awacs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/ppc/awacs.c b/sound/ppc/awacs.c index 53d558b2806c..659866cfe3b4 100644 --- a/sound/ppc/awacs.c +++ b/sound/ppc/awacs.c @@ -11,6 +11,7 @@ #include <asm/nvram.h> #include <linux/init.h> #include <linux/delay.h> +#include <linux/of.h> #include <linux/slab.h> #include <sound/core.h> #include "pmac.h" |