Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07b706dc authored by Tony Lindgren's avatar Tony Lindgren Committed by Mark Brown
Browse files

ASoC: Fix wrong include for McPDM



McPDM needs platt/cpu.h for omap_rev and not omap_hwmod.h.
Drivers must not include omap_hwmod.h at, it will be
private to mach-omap2 soon. Fix the problem before other
drivers will also start including omap_hwmod.h.

Note that also plat/cpu.h will be going away, so the
omap_rev check needs to be replaced with mcpdm-watchdog
flag from platform_data or DT.

Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 034940a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@
#include <sound/pcm_params.h>
#include <sound/soc.h>

#include <plat/omap_hwmod.h>
#include <plat/cpu.h>
#include "omap-mcpdm.h"
#include "omap-pcm.h"