diff options
author | Rob Herring <robh@kernel.org> | 2023-10-03 11:32:02 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-10-06 11:11:40 +0200 |
commit | fdfc374af5dc345fbb9686921fa60176c1c41da0 (patch) | |
tree | ad9f34e55ec447e83697158645a64acffafa0604 /sound/aoa/fabrics | |
parent | e299a9fd433fe13702724f7f9b2f0f49f5345126 (diff) | |
download | linux-fdfc374af5dc345fbb9686921fa60176c1c41da0.tar.gz linux-fdfc374af5dc345fbb9686921fa60176c1c41da0.tar.bz2 linux-fdfc374af5dc345fbb9686921fa60176c1c41da0.zip |
ALSA: aoa: Replace asm/prom.h with explicit includes
asm/prom.h should not be included directly as it no longer contains
anything drivers need. Drivers should include of.h and/or other headers
which were getting implicitly included.
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231003163209.770750-1-robh@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/aoa/fabrics')
-rw-r--r-- | sound/aoa/fabrics/layout.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/aoa/fabrics/layout.c b/sound/aoa/fabrics/layout.c index 850dc8c53e9b..0cd19a05db19 100644 --- a/sound/aoa/fabrics/layout.c +++ b/sound/aoa/fabrics/layout.c @@ -7,9 +7,10 @@ * This fabric module looks for sound codecs based on the * layout-id or device-id property in the device tree. */ -#include <asm/prom.h> #include <linux/list.h> #include <linux/module.h> +#include <linux/of.h> +#include <linux/platform_device.h> #include <linux/slab.h> #include "../aoa.h" #include "../soundbus/soundbus.h" |