Skip to content

Commit

Permalink
ASoC: Fix wrong include for McPDM
Browse files Browse the repository at this point in the history
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: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Tony Lindgren authored and Mark Brown committed Oct 4, 2012
1 parent 034940a commit 07b706d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/omap/omap-mcpdm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 07b706d

Please sign in to comment.