summaryrefslogtreecommitdiff
path: root/sound/aoa/fabrics
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-10-03 11:32:02 -0500
committerTakashi Iwai <tiwai@suse.de>2023-10-06 11:11:40 +0200
commitfdfc374af5dc345fbb9686921fa60176c1c41da0 (patch)
treead9f34e55ec447e83697158645a64acffafa0604 /sound/aoa/fabrics
parente299a9fd433fe13702724f7f9b2f0f49f5345126 (diff)
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.c3
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"